Create an SSL Bundle File from Comodo/Sectigo CRT Files
When you receive a Comodo or Sectigo SSL certificate, you get multiple .crt files. You need to concatenate them into a bundle in the correct order.
Certificate Chain Order (Root → Intermediate → Domain)
AddTrustExternalCARoot.crt— Root CAComodoRSAAddTrustCA.crt— Intermediate CA 1ComodoRSADomainValidationSecureServerCA.crt— Intermediate CA 2yourdomain.crt— Your domain certificate
Create the Bundle via Command Line
# Concatenate intermediates + root into ca-bundle
cat ComodoRSAAddTrustCA.crt ComodoRSADomainValidationSecureServerCA.crt AddTrustExternalCARoot.crt > yourdomain.ca-bundle
# Or create a single ssl-bundle (domain cert + chain)
cat yourdomain.crt yourdomain.ca-bundle > ssl-bundle.crt
Create the Bundle in a Text Editor
Open each file and paste them into a single file in this order (each block must start with -----BEGIN CERTIFICATE-----):
-----BEGIN CERTIFICATE-----
[your domain certificate]
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
[intermediate CA 1]
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
[intermediate CA 2]
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
[root CA]
-----END CERTIFICATE-----
Verify the Bundle
openssl verify -CAfile yourdomain.ca-bundle yourdomain.crt