Install an SSL Cert in Apache
openssl pkcs12 -in domain.com.pfx -out domain.com.pem -nodes
openssl rsa -in domain.com.pem -out domain.com.cert.key
openssl x509 -in domain.com.pem -out domain.com.cert.crt
Assuming copy those over the existing ones, as defined in Apache.
Extract private key: openssl pkcs12 -in [yourfile.pfx] -nocerts -out [drlive.key]
Extract certificate: openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [drlive.crt]
Decrypt private key: openssl rsa -in [drlive.key] -out [drlive-decrypted.key]
Convert pfx to pem: openssl rsa -in [keyfile-encrypted.key] -outform PEM -out [keyfile-encrypted-pem.key]
Need to update these: SSLCertificateFile "D:/xampp/apache/ssl/yourdomain_com.crt" SSLCertificateKeyFile "D:/xampp/apache/ssl/yourdomain_com.key" SSLCACertificateFile "D:/xampp/apache/ssl/yourdomain_com.ca-bundle"