How to create a .pem File for SSL Certificate Installations

From MedITEX - Wiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<div class="container">
+
<h1 style="left: 174.5px;">Creating a .pem File for SSL Certificate Installations</h1>
 
<h2>.pem SSL Creation Instructions</h2>
 
<h2>.pem SSL Creation Instructions</h2>
 
<p>SSL .pem files (concatenated certificate container files), are  frequently required for certificate installations when multiple  certificates are being imported as one file.</p>
 
<p>SSL .pem files (concatenated certificate container files), are  frequently required for certificate installations when multiple  certificates are being imported as one file.</p>
<a name="3in1"></a>
 
<p>&nbsp;</p>
 
 
<p><strong>Creating a .pem with the Entire SSL Certificate Trust Chain</strong></p>
 
<p><strong>Creating a .pem with the Entire SSL Certificate Trust Chain</strong></p>
<ol>
+
<ol> </ol>
<li> Log into your <a href="https://www.digicert.com/account/">DigiCert Management Console</a> and download your Intermediate (DigiCertCA.crt), Root (TrustedRoot.crt), and Primary Certificates (your_domain_name.crt). </li>
+
<p>1. Log into your <a href="https://www.digicert.com/account/">DigiCert Management Console</a> and download your Intermediate (DigiCertCA.crt), Root (TrustedRoot.crt), and Primary Certificates (your_domain_name.crt).</p>
<li>
+
<ol> </ol>
<p>Open a text editor (such as wordpad) and paste the  entire body of each certificate into one text file in the following  order:</p>
+
<p>2. Open a text editor (such as wordpad) and paste the  entire body of each certificate into one text file in the following  order:</p>
 
<ol>
 
<ol>
 
<li> The Primary Certificate - <strong>your_domain_name.crt</strong> </li>
 
<li> The Primary Certificate - <strong>your_domain_name.crt</strong> </li>
 
<li> The Intermediate Certificate - <strong>DigiCertCA.crt</strong> </li>
 
<li> The Intermediate Certificate - <strong>DigiCertCA.crt</strong> </li>
<li> The Root Certificate - <strong>TrustedRoot.crt</strong> </li>
+
<li> The Root Certificate - <strong>TrustedRoot.crt</strong></li>
 
</ol>
 
</ol>
 
<p>Make sure to include the beginning and end tags on each certificate.                    The result should look like this:</p>
 
<p>Make sure to include the beginning and end tags on each certificate.                    The result should look like this:</p>
<br />
+
<p style="text-align: center;"><span style="color: #ff0000;">----BEGIN CERTIFICATE----</span><br /><span style="color: #ff0000;">(Your Primary SSL Certificate: your_domain_name.crt)</span><br /><span style="color: #ff0000;">----END CERTIFICATE----</span><br /><span style="color: #008000;">----BEGIN CERTIFICATE----</span><br /><span style="color: #008000;">(You Intermediate Certificate: DigiCertCA.crt)</span><br /><span style="color: #008000;">----END CERTIFICATE----</span></p>
<div class="container" style="text-align: center;"><span style="color: #ff0000;">----BEGIN CERTIFICATE----</span></div>
+
<div class="container" style="text-align: center;"><span style="color: #ff0000;">(Your Primary SSL Certificate: your_domain_name.crt)</span></div>
+
<div class="container" style="text-align: center;"><span style="color: #ff0000;">----END CERTIFICATE----</span></div>
+
<div class="container" style="text-align: center;"><span style="color: #008000;">----BEGIN CERTIFICATE----</span></div>
+
<div class="container" style="text-align: center;"><span style="color: #008000;">(You Intermediate Certificate: DigiCertCA.crt)</span></div>
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #008000;">----END CERTIFICATE----</span>
+
 
<p>Save the combined file as <strong>your_domain_name.pem</strong>. The .pem file is now ready to use.</p>
 
<p>Save the combined file as <strong>your_domain_name.pem</strong>. The .pem file is now ready to use.</p>
</li>
 
</ol> <a name="2in1"></a>
 
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 
<p><strong>Creating a .pem with the Server and Intermediate Certificates</strong></p>
 
<p><strong>Creating a .pem with the Server and Intermediate Certificates</strong></p>
<ol>
+
<ol> </ol>
<li> Log into your <a href="https://www.digicert.com/account/">DigiCert Management Console</a> and download your Intermediate (DigiCertCA.crt) and Primary Certificates (your_domain_name.crt). </li>
+
<p>1. Log into your <a href="https://www.digicert.com/account/">DigiCert Management Console</a> and download your Intermediate (DigiCertCA.crt) and Primary Certificates (your_domain_name.crt).</p>
<li>
+
<p>2. Open a text editor (such as wordpad) and paste the  entire body of each certificate into one text file in the following  order:</p>
<p>Open a text editor (such as wordpad) and paste the  entire body of each certificate into one text file in the following  order:</p>
+
 
<ol>
 
<ol>
 
<li> The Primary Certificate - <strong>your_domain_name.crt</strong> </li>
 
<li> The Primary Certificate - <strong>your_domain_name.crt</strong> </li>
Line 36: Line 25:
 
</ol>
 
</ol>
 
<p>Make sure to include the beginning and end tags on each certificate.                    The result should look like this:</p>
 
<p>Make sure to include the beginning and end tags on each certificate.                    The result should look like this:</p>
<p><span style="color: #ff6600;">-----BEGIN CERTIFICATE-----                        <br /> (Your Primary SSL certificate: your_domain_name.crt)                        <br /> -----END CERTIFICATE----- </span> <br /> <span style="color: #339900;">-----BEGIN CERTIFICATE-----                        <br /> (Your Intermediate certificate: DigiCertCA.crt)                        <br /> -----END CERTIFICATE----- </span></p>
+
<ol> </ol><ol> </ol>
<p>Save the combined file as <strong>your_domain_name.pem</strong>. The .pem file is now ready to use.</p>
+
</li>
+
</ol> <a name="4in1"></a>
+
<p>&nbsp;</p>
+
<p><strong>Creating a .pem with the Private Key and Entire Trust Chain</strong></p>
+
<ol>
+
<li> Log into your <a href="https://www.digicert.com/account/">DigiCert Management Console</a> and download your Intermediate (DigiCertCA.crt) and Primary Certificates (your_domain_name.crt). </li>
+
<li>
+
<p>Open a text editor (such as wordpad) and paste the  entire body of each certificate into one text file in the following  order:</p>
+
<ol>
+
<li> The Private Key - <strong>your_domain_name.key</strong> </li>
+
<li> The Primary Certificate - <strong>your_domain_name.crt</strong> </li>
+
<li> The Intermediate Certificate - <strong>DigiCertCA.crt</strong> </li>
+
<li> The Root Certificate - <strong>TrustedRoot.crt</strong> </li>
+
</ol>
+
<p>Make sure to include the beginning and end tags on each certificate.                    The result should look like this:</p>
+
<p><span style="color: gray;">-----BEGIN RSA PRIVATE KEY-----                        <br /> (Your Private Key: your_domain_name.key)                        <br /> -----END RSA PRIVATE KEY----- </span> <br /> <span style="color: #ff6600;">-----BEGIN CERTIFICATE-----                        <br /> (Your Primary SSL certificate: your_domain_name.crt)                        <br /> -----END CERTIFICATE----- </span> <br /> <span style="color: #339900;">-----BEGIN CERTIFICATE-----                        <br /> (Your Intermediate certificate: DigiCertCA.crt)                        <br /> -----END CERTIFICATE----- </span> <br /> <span style="color: #336699;">-----BEGIN CERTIFICATE-----                        <br /> (Your Root certificate: TrustedRoot.crt)                        <br /> -----END CERTIFICATE----- </span></p>
+
<p>Save the combined file as <strong>your_domain_name.pem</strong>. The .pem file is now ready to use.</p>
+
</li>
+
</ol></div>
+

Revision as of 15:16, 12 August 2016

Creating a .pem File for SSL Certificate Installations

.pem SSL Creation Instructions

SSL .pem files (concatenated certificate container files), are frequently required for certificate installations when multiple certificates are being imported as one file.

Creating a .pem with the Entire SSL Certificate Trust Chain

1. Log into your <a href="https://www.digicert.com/account/">DigiCert Management Console</a> and download your Intermediate (DigiCertCA.crt), Root (TrustedRoot.crt), and Primary Certificates (your_domain_name.crt).

2. Open a text editor (such as wordpad) and paste the entire body of each certificate into one text file in the following order:

  1. The Primary Certificate - your_domain_name.crt
  2. The Intermediate Certificate - DigiCertCA.crt
  3. The Root Certificate - TrustedRoot.crt

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

----BEGIN CERTIFICATE----
(Your Primary SSL Certificate: your_domain_name.crt)
----END CERTIFICATE----
----BEGIN CERTIFICATE----
(You Intermediate Certificate: DigiCertCA.crt)
----END CERTIFICATE----

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

 

Creating a .pem with the Server and Intermediate Certificates

1. Log into your <a href="https://www.digicert.com/account/">DigiCert Management Console</a> and download your Intermediate (DigiCertCA.crt) and Primary Certificates (your_domain_name.crt).

2. Open a text editor (such as wordpad) and paste the entire body of each certificate into one text file in the following order:

  1. The Primary Certificate - your_domain_name.crt
  2. The Intermediate Certificate - DigiCertCA.crt

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