
crt extension), you will need to import the root certificate, intermediate certificates and the certificate issued for your domain name to the keystore separately starting from a root certificate and ending with the certificate for your domain name. If you received the certificate in the PEM format ( files will be with the. You can check the details of the certificate that was imported to the keystore with a command: If the certificate was imported successfully, you will see the message ‘ Certificate reply was installed in keystore’. Keytool -import -trustcacerts -alias tomcat -keystore example.jks -file example.p7b Run the following command to import it into the keystore: p7b extension can be downloaded in the user account. cer), it already includes the necessary intermediate and root certificates.


If the certificate you received is in PKCS#7 format (the extension of the certificate file will be. After the certificate is issued, you can proceed with its installation on Tomcat server.ĭepending on the certificate format in which you received the certificate from the Certificate Authority, there are different ways of importing the files into the keystore.
