Rat's

Tutorial on configuring ssl certificates for websites using crt and ca bundle files
Note: I saw the activity of replacing the Comodo ssl certificate for one year for free held by namecheap before, and I went there for one year. The certificate file I applied for is ca
Scan the QR code on the right to read the full text
07
2017/06

Tutorial on configuring ssl certificates for websites using crt and ca bundle files

explain: See before namecheap Change for one year for free Comodo ssl I went to the certificate activity for one year, and the certificate documents I applied for were ca-bundle and crt Document, customary crt and key File to configure ssl I just ignored the certificate ca-bundle It is estimated that many people will be the same as me, so I use crt Files and previously generated key File Configuration ssl After that, you will find that some browsers have unsafe prompts. After checking the following problems, you find that the certificate chain is incomplete, and you can't ignore it ca-bundle The documents were tossed around and finally fixed. Here's how to share it.

First, you need to crt and ca-bundle Files merged into a new crt Files, logging in vps Run command:

 Cat xxx. crt xxx. ca bundle>new. crt # crt and ca bundle file locations

Then use the new crt Make a certificate file, key It is generated before!

to configure ssl For specific methods, please refer to: The simplest tutorial for configuring SSL certificates in the LNMP environment Tutorial on Configuring SSL Certificates in the Apache Environment of CentOS 6 System You can use the military brother's lnmp1.4 One click package is configured directly.

Vultr New user registration send one hundred USD/ sixteen Each computer room is charged by hour, and Alipay is supported【 Click to view 】。
Last modification: 11:27 AM, June 7, 2017

Comment

5 comments

  1. e

    thank you

  2. Later wind

    When was this key generated?

    1. Rat's
      @Later wind

      When you apply for an SSL certificate, there is a KEY file for you.

  3. A thousand li

    First, you need to merge the issued crt and ca bundle files into a new crt file, log in to vps and run the command:

    Can you specify how to merge and what tools to use?

    1. Rat's
      @A thousand li

      The xshell tool is used, but it can also be merged manually. Copy the contents of ca bundle to the crt.