
In the next step, you will need to modify the connector for the default port 8443 or 443. Otherwise, the “ Input not an X.509 certificate” error may take place.Īfter you have imported successfully, you should receive the following output:Ĭertificate reply was installed in keystore Step 2: Edit SSL Configuration Make sure the certificate file has the same alias used for creating the keystore. yourkeystore.jks is the actual name/path to the keystore file.certificate.p7b is the actual name/path to your certificate file.tomcat is the actual alias of your keystore.Keytool -import -trustcacerts -alias tomcat -file certificate.p7b -keystore yourkeystore.jks Then, import it using the following command: Upload the PKCS#7 certificate file on the server.
