How do I make CA-bundle file from CRT files?

 

There are a few *.crt files in your package:

  • AddTrustExternalCARoot.crt - Root CA Certificate
  • COMODORSAAddTrustCA.crt - Intermediate CA Certificate 1
  • COMODORSADomainValidationSecureServerCA.crt - Intermediate CA Certificate 2
  • yourDomain.crt - Your SSL Certificate

CA-bundle is a file that contains root and intermediate certificates in the right order. The order must be:

- Intermediate CA Certificate 2

- Intermediate CA Certificate 1

- Root CA Certificate

 

GUI Text Editor

1. Open All files in a text editor. (excluding your SSL Certificate)

2. Create a new blank text file.

3. Copy contents of all files in the order indicated above and paste them into the new file.

4. Save the newly created file as 'yourDomain.ca-bundle'.

Command Line

Linux or UNIX-like Operating Systems:

-- cat ComodoRSADomainValidationSecureServerCA.crt ComodoRSAAddTrustCA.crt AddTrustExternalCARoot.crt > yourDomain.ca-bundle

Windows or DOS: -- copy ComodoRSADomainValidationSecureServerCA.crt + ComodoRSAAddTrustCA.crt + AddTrustExternalCARoot.crt yourDomain.ca-bundle

 

You can download Comodo CA-bundle here.