I’m following this guide: https://www.thesslstore.com/knowledgebase/ssl-install/tomcat-ssl-installation/
Got the .p7b file from name.com, moved it into my droplet, then ran:
keytool -import -trustcacerts -alias server -file placeholder.p7b -keystore placeholder.jks
But it’s throwing:
keytool error: java.lang.Exception: Input not an X.509 certificate
I followed by running:
openssl x509 -in placeholder.p7b -text
unable to load certificate 140089256595904:error:0909006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:745:Expecting: TRUSTED CERTIFICATE
Does that mean my certificate is corrupted somehow? (I didn’t even touch it, just downloaded it)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!