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
And got:
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)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Adding to this, I have the following download options, but the guide said to pick .p7b
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.