Consider the following scenario: You have already implemented the SSL Certificate into SynaMan. However, the certificate is about to expire soon. You have already contacted a certificate authority, such as GoDaddy, to renew your certificate. You have received the new certificate from them and you would like to integrate it into SynaMan again.
Using keytool, you can convert the certificate into a keystore file and insert it into SynaMan to apply the new certificate.
To do this, put the certificate in a folder (such as c:\certs\), open up a command prompt and change the directory to the folder where the certificate is located at. Next, enter in the following command:
keytool -import -trustcacerts -alias synaman -file yourCertificate.crt -keystore synaman.keystore
The value for alias varies on what your keystore file contains. To view the contents of your keystore, use the following command:
keytool -list -keystore storeName (where storeName is the name of your keystore file)You should be able to see what your alias is. Put this value on the keytool command.
Make sure you enter in the correct name for the value: yourCertificate.crt
Next, keytool will ask you for your certificate password. Please enter in your password.
Once that is done, you will get a new synaman.keystore file. Move the new file to the sslCert folder in your installation directory of SynamMan.
If you are using a Windows machine, the directory by default should be: C:\SynaMan\htdocs\sslCert If you are using a Mac/Linux machine, the directory by default should be: /opt/SynaMan/htdocs/sslCert
Once you have replaced the synaman.keystore file, restart your SynaMan. Once it has been restarted, click on the lock icon on your web URL and click on the certificate information to see if your certificate has been updated.