Convert pfx certificate for apache

This is more or less a hint for me how to do it. Maybe it helps you, too.

openssl pkcs12 -in -clcerts -nokeys -out
openssl pkcs12 -in -nocerts -out
openssl rsa -in cert-encrypted.key -out
openssl pkcs12 -in -cacerts -nokeys -out

Then in the apache config

SSLCertificateFile certs/
SSLCACertificateFile certs/
SSLCertificateKeyFile certs/

Leave a Reply

Your email address will not be published. Required fields are marked *