Convert Private Key and Public Key into a PFX certificate
info
Certificates in the CA Bundle MUST be in the following order.
- Intermediate CA Certificate - SectigoRSADomainValidationSecureServerCA.crt
- Intermediate CA Certificate - USERTrustRSAAAACA.crt
- Root CA Certificate - AAACertificateServices.crt
1. Create the Certificate Bundle
cat SectigoRSADomainValidationSecureServerCA.crt USERTrustRSAAAACA.crt AAACertificateServices.crt > ca-bundle.crt
2. Generate the PFX Certificate
info
You will be prompted to specify a passphrase for PFX certificate. Please make sure to remember it. When you are importing the PFX certificate, you must specify the passphrase.
openssl pkcs12 -export -out tls.pfx -inkey tls.key -in tls.crt -certfile ca-bundle.crt