Creating a .pem with the Private Key and Entire Trust Chain

download (3)You may find you install a SSL cert, but certain browsers show the connection as unsafe (i.e. mobile browser has issues but desktop browsers are happy)

This generally points to not having the cert chain correct. You can check your cert chain at sites like –

https://ssltools.websecurity.symantec.com/checker/views/certCheck.jsp

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

 

  1. Download your Intermediate and Primary Certificates.
  2. Open a text editor (such as notepad) and paste the entire body of each certificate into one text file in the following order:
    1. The Private Key – your_domain_name.key
    2. The Primary Certificate – your_domain_name.crt
    3. The Intermediate Certificate – gd_bundle_g2_g1.crt
    4. The Root Certificate – TrustedRoot.crt

    Make sure to include the beginning and end tags on each certificate. The result should look like this:

    —–BEGIN RSA PRIVATE KEY—–
    (Your Private Key: your_domain_name.key)
    —–END RSA PRIVATE KEY—–
    —–BEGIN CERTIFICATE—–
    (Your Primary SSL certificate: your_domain_name.crt)
    —–END CERTIFICATE—–
    —–BEGIN CERTIFICATE—–
    (Your Intermediate certificate: DigiCertCA.crt)
    —–END CERTIFICATE—–
    —–BEGIN CERTIFICATE—–
    (Your Root certificate: TrustedRoot.crt)
    —–END CERTIFICATE—–

    Save the combined file as your_domain_name.pem. The .pem file is now ready to use.

14 Replies to “Creating a .pem with the Private Key and Entire Trust Chain”

  1. I just want to say I am just new to weblog and absolutely savored this web site. Likely I’m planning to bookmark your blog . You absolutely come with perfect posts. Appreciate it for sharing your web-site.

  2. I¡¦ll immediately clutch your rss feed as I can not to find your email subscription link or newsletter service. Do you have any? Kindly let me recognise in order that I may just subscribe. Thanks.

  3. I’m very happy to read this. This is the type of manual that needs to be given and not the random misinformation that’s at the other blogs. Appreciate your sharing this greatest doc.

  4. Thank you a lot for giving everyone an extraordinarily special possiblity to discover important secrets from this web site. It can be very nice and also stuffed with a great time for me and my office colleagues to search your website at the least three times per week to read through the newest guides you have got. Of course, I am just usually astounded concerning the wonderful thoughts served by you. Selected 2 ideas on this page are completely the best I’ve had.