cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
Highlighted

Tomcat 9. Install certificates

Hello.

 

Can you help me, please?

 

Files:

1) Godaddy sent me next files:

222809*********.crt

222809*********.pem

gd_bundle-g2-g1.crt

gdig2.crt.pem

2) Also, Godaddy sent me generated-private-key

 

I should to install certificates to Tomcat.

 

Steps:

1) openssl pkcs12 -export -in 222809*********.crt -inkey generated-private-key.key -out abc.p12

2) keytool -importkeystore -srckeystore abc.p12 -srcstoretype PKCS12 -destkeystore abc.jks -deststoretype JKS

3) keytool -importcert -trustcacerts -file gd_bundle-g2-g1.crt -alias root -keystore abc.jks
4) keytool -importcert -trustcacerts -file gdig2.crt.pem -alias intermediate -keystore abc.jks

 

Tomcat:server.xml:

<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="443" />

 

<Connector port="443" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="C:\Apache\keystore\abc.jks" keystorePass="pass"
clientAuth="false" sslProtocol="TLS"/>

 

Testing:

1) Open Google Chrome. Everything fine. Connection is secure.

2) https://developers.facebook.com/tools/debug/og/object/

Error: Can't validate SSL Certificate. Either it is self-signed (which will cause browser warnings) or it is invalid.

3) https://www.sslshopper.com/ssl-checker.html

Error:

The certificate is not trusted in all web browsers. You may need to install an Intermediate/chain certificate to link it to a trusted root certificate. Learn more about this error. You can fix this by following GoDaddy's Certificate Installation Instructions for your server platform. Pay attention to the parts about Intermediate certificates.

 

What did I do wrong?

2 REPLIES 2

Re: Tomcat 9. Install certificates

Who can help me, please?

Community Manager
Community Manager
Solution

Re: Tomcat 9. Install certificates

Please make sure you are following these instructions for installing an SSL on a Tomcat server: https://www.godaddy.com/help/tomcat-generate-csrs-and-install-certificates-5239.  

 

If you continue to get an error after following those instructions, please contact our live customer support so we can provide further assistance.  Thanks!  

 

MPC