Create a .pem File for TLS/SSL Certificate Installations

.pem TLS/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.

This article contains multiple sets of instructions that walk through various .pem file creation scenarios for certificate installation.

  • Create a .pem file with the Entire TLS/SSL Certificate Trust Chain
  • Create a .pem file with the TLS/SSL Server and Intermediate Certificates
  • Create a .pem with the Private Key and Entire Trust Chain

Create a .pem file with the Entire TLS/SSL Certificate Trust Chain

  1. In your CertCentral account, on the certificate's order details page, download your Intermediate (DigiCertCA.crt), Root (TrustedRoot.crt), and Primary Certificates (your_domain_name.crt).

    See Download a TLS/SSL certificate from your CertCentral account
  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. Primary Certificate - your_domain_name.crt
    2. Intermediate Certificate - DigiCertCA.crt
    3. Root Certificate - TrustedRoot.crt

      Note: Some servers may require you to add the certificates in the reverse order in the .pem file:

      1. Root Certificate
      2. Intermediate Certificate
      3. Primary Certificate

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

     

    -----BEGIN CERTIFICATE-----
    Your Primary TLS/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-----

     

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


Create a .pem file with the TLS/SSL Server and Intermediate Certificates

  1. In your CertCentral account, on the certificate's order details page, download your Intermediate (DigiCertCA.crt) and Primary Certificates (your_domain_name.crt).

    See Download a TLS/SSL certificate from your CertCentral account
  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 Primary Certificate - your_domain_name.crt
    2. The Intermediate Certificate - DigiCertCA.crt
  3. Make sure to include the beginning and end tags on each certificate. The result should look like this:

    -----BEGIN CERTIFICATE-----
    Your Primary TLS/SSL certificate: your_domain_name.crt
    -----END CERTIFICATE-----

    -----BEGIN CERTIFICATE-----
    Your Intermediate certificate: DigiCertCA.crt
    -----END CERTIFICATE-----

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


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

    1. In your CertCentral account, on the certificate's order details page, download your Intermediate (DigiCertCA.crt), Root (TrustedRoot.crt), and Primary Certificates (your_domain_name.crt).

      See Download a TLS/SSL certificate from your CertCentral account
    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 - DigiCertCA.crt
      4. The Root Certificate - TrustedRoot.crt
    3. 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 TLS/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-----

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

posted on   遠離塵世の方舟  阅读(28)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· AI与.NET技术实操系列(六):基于图像分类模型对图像进行分类
历史上的今天:
2017-09-25 DNS服务器的维护与故障排除
2017-09-25 Unbound服务的安装与运行管理
2017-09-25 DNS域名解析
2015-09-25 telnet IP不通/sybase central工具无法连接到数据库
2014-09-25 将samba加入到windows域《转载》
2014-09-25 idmap_ad — Samba's idmap_ad Backend for Winbind《转载》
2014-09-25 Enabling Active Directory Authentication for VMWare Server running on Linux《转载》
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示