首页 > 其他分享 >Create a .pem File for TLS/SSL Certificate Installations

Create a .pem File for TLS/SSL Certificate Installations

时间:2024-09-25 14:23:29浏览次数:11  
标签:TLS CERTIFICATE certificate Installations Certificate pem ----- crt your

.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.

标签:TLS,CERTIFICATE,certificate,Installations,Certificate,pem,-----,crt,your
From: https://www.cnblogs.com/rusking/p/18431288

相关文章

  • How to convert a certificate into the appropriate format
    SolutionIfyourserver/devicerequiresadifferentcertificateformatotherthanBase64encodedX.509,athirdpartytoolsuchasOpenSSLcanbeusedtoconvertthecertificatesintotheappropriateformat.ForinformationonOpenSSLpleasevisit: www.ope......
  • OpenWebrx RTLSDR V4 频道划分 json
    "sdrs":{"rtlsdr":{"name":"RTL-SDR","type":"rtl_sdr","profiles":{"VHFFMBroadcast-01":{......
  • qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed加
    qDebug()<<"QSslSocket="<<QSslSocket::sslLibraryBuildVersionString();qDebug()<<"OpenSSL支持情况:"<<QSslSocket::supportsSsl();打印需要的版本和当前openssl的支持情况如果显示false,不支持就是说明,不支持加密对应下载版本的openssl进行重新编译即可原因......
  • Augus-mail TLS 发送邮件
    Augus-mailTLS发送邮件 Augus-mail是一种邮件发送库,类似于JavaMail。要通过Augus-mail使用TLS发送邮件,流程会与JavaMail非常类似。以下是使用Augus-mail发送带TLS的邮件的基本步骤:步骤1:设置依赖首先,你需要确保项目中包含Augus-mail的依赖。如果你是通过Ma......
  • 基于平均加权最小二乘法AWTLS、加权最小二乘 WLS、总最小二乘法TLS以及加权总最小二乘
         ......
  • 51c嵌入式~mbedtls移植各MCU
    我的嵌入式专辑由于还没发完请去这里看原贴~~待更新完发回来~~ 各种MCU的各型号移植mbedtls相关~https://blog.51cto.com/whaosoft/11852731还有其他 嵌入式※~国产MCU替换STM嵌入式※~MCU~LWIP网络协议栈移植(各种网卡)ipsec~strongSwan嵌入式※~各种の单片机......
  • 详解 HTTPS、TLS、SSL、HTTP区别和关系
    一、什么是HTTPS、TLS、SSLHTTPS,也称作HTTPoverTLS。TLS的前身是SSL,TLS1.0通常被标示为SSL3.1,TLS1.1为SSL3.2,TLS1.2为SSL3.3。下图描述了在TCP/IP协议栈中TLS(各子协议)和HTTP的关系 二、HTTP和HTTPS协议的区别1、HTTPS协议需要到证书颁发机构(CertificateA......
  • Ubuntu 18.04.6 TLS版本安装docker问题
    技术问题求助:版本号:Ubuntu18.04.6TLSDockerversion24.0.2,buildcb74dfc使用以上版本的ubuntu安装完成docker,安装完成之后使用docker下载镜像,报以下错误:尝试1:修改镜像源:新建文件:vim/etc/docker/daemon.jsonroot@ubuntu:~#cat/etc/docker/daemon.json内容如......
  • 为什么HTTPS会引入SSL/TLS协议:深入解析网络安全的基石
    目录1.什么是HTTPS?2.为什么需要HTTPS?3.SSL/TLS协议的作用4.SSL/TLS的工作流程5.为什么HTTPS要引入SSL/TLS?在当今这个数字化时代,网络安全已经成为了我们不可忽视的重要议题。作为软件工程领域的博主,今天将深入探讨一个关键的网络安全技术——SSL/TLS协议,以及它在HTT......
  • SSL: CERTIFICATE_VERIFY_FAILED 问题
    使用python的过程中,在发送网络请求时有时候会遇到如下问题:ssl.SSLCertVerificationError:[SSL:CERTIFICATE_VERIFY_FAILED]certificateverifyfailed:unabletogetlocalissuercertificate这个问题产生原因是python发送请求的网站或地址是https,这时需要验证对方网站的证......