{"id":2444,"date":"2016-01-25T07:45:27","date_gmt":"2016-01-25T07:45:27","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=2444"},"modified":"2016-01-25T07:45:27","modified_gmt":"2016-01-25T07:45:27","slug":"creating-a-pem-file-for-ssl-certificate-with-trust-chain","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=2444","title":{"rendered":"Creating a .pem File for SSL Certificate With Trust Chain"},"content":{"rendered":"<p>SSL .pem files (concatenated certificate container files), are frequently required for certificate installations when multiple certificates are being imported as one file.<\/p>\n<p>This article contains multiple sets of instructions that walk through various .pem file creation scenarios.<\/p>\n<p><a name=\"3in1\"><\/a><\/p>\n<p><strong>Creating a .pem with the Entire SSL Certificate Trust Chain<\/strong><\/p>\n<ol>\n<li>Log into your\u00a0<a href=\"https:\/\/www.digicert.com\/account\/\">DigiCert Management Console<\/a>\u00a0and download your Intermediate (DigiCertCA.crt), Root (TrustedRoot.crt), and Primary Certificates (your_domain_name.crt).<\/li>\n<li>Open a text editor (such as wordpad) and paste the entire body of each certificate into one text file in the following order:\n<ol>\n<li>The Primary Certificate &#8211;\u00a0<b>your_domain_name.crt<\/b><\/li>\n<li>The Intermediate Certificate &#8211;\u00a0<b>DigiCertCA.crt<\/b><\/li>\n<li>The Root Certificate &#8211;\u00a0<b>TrustedRoot.crt<\/b><\/li>\n<\/ol>\n<p>Make sure to include the beginning and end tags on each certificate. The result should look like this:<\/p>\n<p>&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<br \/>\n(Your Primary SSL certificate: your_domain_name.crt)<br \/>\n&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<br \/>\n&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<br \/>\n(Your Intermediate certificate: DigiCertCA.crt)<br \/>\n&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<br \/>\n&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<br \/>\n(Your Root certificate: TrustedRoot.crt)<br \/>\n&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<\/p>\n<p>Save the combined file as\u00a0<b>your_domain_name.pem<\/b>. The .pem file is now ready to use.<\/li>\n<\/ol>\n<p><a name=\"2in1\"><\/a><\/p>\n<p><strong>Creating a .pem with the Server and Intermediate Certificates<\/strong><\/p>\n<ol>\n<li>Log into your\u00a0<a href=\"https:\/\/www.digicert.com\/account\/\">DigiCert Management Console<\/a>\u00a0and download your Intermediate (DigiCertCA.crt) and Primary Certificates (your_domain_name.crt).<\/li>\n<li>Open a text editor (such as wordpad) and paste the entire body of each certificate into one text file in the following order:\n<ol>\n<li>The Primary Certificate &#8211;\u00a0<b>your_domain_name.crt<\/b><\/li>\n<li>The Intermediate Certificate &#8211;\u00a0<b>DigiCertCA.crt<\/b><\/li>\n<\/ol>\n<p>Make sure to include the beginning and end tags on each certificate. The result should look like this:<\/p>\n<p>&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<br \/>\n(Your Primary SSL certificate: your_domain_name.crt)<br \/>\n&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<br \/>\n&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<br \/>\n(Your Intermediate certificate: DigiCertCA.crt)<br \/>\n&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<\/p>\n<p>Save the combined file as\u00a0<b>your_domain_name.pem<\/b>. The .pem file is now ready to use.<\/li>\n<\/ol>\n<p><a name=\"4in1\"><\/a><\/p>\n<p><strong>Creating a .pem with the Private Key and Entire Trust Chain<\/strong><\/p>\n<ol>\n<li>Log into your\u00a0<a href=\"https:\/\/www.digicert.com\/account\/\">DigiCert Management Console<\/a>\u00a0and download your Intermediate (DigiCertCA.crt) and Primary Certificates (your_domain_name.crt).<\/li>\n<li>Open a text editor (such as wordpad) and paste the entire body of each certificate into one text file in the following order:\n<ol>\n<li>The Private Key &#8211;\u00a0<b>your_domain_name.key<\/b><\/li>\n<li>The Primary Certificate &#8211;\u00a0<b>your_domain_name.crt<\/b><\/li>\n<li>The Intermediate Certificate &#8211;\u00a0<b>DigiCertCA.crt<\/b><\/li>\n<li>The Root Certificate &#8211;\u00a0<b>TrustedRoot.crt<\/b><\/li>\n<\/ol>\n<p>Make sure to include the beginning and end tags on each certificate. The result should look like this:<\/p>\n<p>&#8212;&#8211;BEGIN RSA PRIVATE KEY&#8212;&#8211;<br \/>\n(Your Private Key: your_domain_name.key)<br \/>\n&#8212;&#8211;END RSA PRIVATE KEY&#8212;&#8211;<br \/>\n&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<br \/>\n(Your Primary SSL certificate: your_domain_name.crt)<br \/>\n&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<br \/>\n&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<br \/>\n(Your Intermediate certificate: DigiCertCA.crt)<br \/>\n&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<br \/>\n&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;<br \/>\n(Your Root certificate: TrustedRoot.crt)<br \/>\n&#8212;&#8211;END CERTIFICATE&#8212;&#8211;<\/p>\n<p>Save the combined file as\u00a0<b>your_domain_name.pem<\/b>. The .pem file is now ready to use.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>SSL .pem files (concatenated certificate container files), are frequently required for certificate installations when multiple certificates are being imported as one file. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2444","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2444"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2444\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}