daknetworks.com

You are here: Blog Install Certificate on Tomcat 7

Install Certificate on Tomcat 7

I did the following:

  1. -created a request (CSR) at the TomCat install.
  2. -bought a certificate at GoDaddy (I know, I know... client request).
  3. -submitted the CSR.
  4. -received the certificate back.

At this point, all I had to do was install the intermediate and then install the certificate reply to the CSR. TomCat says no.... chain not valid.

I tried many intermediate and root certficates in the GD repository but the final certificate would not install.
https://certs.godaddy.com/repository

Nothing worked for me at this point.

Here is how to fix:

  1. -uninstall any certificate intermediate or root that I installed.
  2. -open the certificate from GD in Windows.
  3. -click the tab for the Certificate Path (at the top).
  4. -click the intermediate certificate (the one in the middle).
  5. -click VIEW-CERTIFICATE > DETAILS > COPY-TO-FILE
  6. -click BASE-64-ENCODED-X-509

Now combine them:

  1. -open the certificate from GD in a text editor.
  2. -open the certificate from Intermediate in a text editor.
  3. -copy and past the intermediate certificate directly below the GD certificate, like so:
    -----BEGIN CERTIFICATE-----
    MIICajCCAdOgAwIBAgIBAjANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJVSzEa ....
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    MIICkjCCAfugAwIBAgIJAKm5bDEMxZd7MA0GCSqGSIb3DQEBBQUAMDsxCzAJBgNV ....
    -----END CERTIFICATE-----
  4. -save the certificate.
  5. -install the certificate in TomCat.

Contact Dak Networks

We are not taking on new clients at this time.