Created
December 17, 2013 21:06
-
-
Save rafaelfoster/8012620 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Command extracts public key to domain.cer. | |
openssl pkcs12 -in domain.pfx -clcerts -nokeys -out domain.cer | |
# Command extracts private key to domain.key. | |
openssl pkcs12 -in domain.pfx -nocerts -nodes -out domain.key | |
<VirtualHost example.com:443> | |
... | |
SSLEngine on | |
SSLCertificateFile /path/to/domain.cer | |
SSLCertificateKeyFile /path/to/domain.key | |
... | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment