- Create the keystore file for the new certificate through command line interface.
Example commands:-
Keytool location .
Example location: - E:\Program Files\BIOVIA\Foundation\hub\jre\windows\bin
Example Command :-
keytool -importkeystore -srckeystore E:\CERTS\XYZ.PFX -srcstoretype PKCS12 -srcstorepass elnpass -destkeystore "E:\CERTS\ELNhubkeystore.jks" -deststoretype JKS -deststorepass elnpass
Note :- Due to a known issue in foundation hub , we require the password for pfx and keystore file should match. So please keep the password same in the above command.
(b) Login to the Foundation web page as “scitegicadmin” (or any other Foundation Administrator user account).
(c) In the Foundation web page, navigate to “Admin and Settings > Settings > Hub Configuration” and click Edit.
(d) Enter the password in the keystore password field and click Save.
(h) Saving the configuration will prompt a restart the server message. This action (SAVE AND RESTART) will encrypt the password in the file, “tomcat.properties”. A simple restart of the server via Hub configuration does not encrypt the password in this file.
After the restart, the Foundation web page will be displayed again. Log out and log in to Foundation as “scitegicadmin”. There should not be any certificate errors. Click the lock icon in the URL, and select the option to view the certificate. It should show the latest, new certificate...