Difference between revisions of "Openssl"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | |||
+ | https://www.redhat.com/sysadmin/6-openssl-commands | ||
+ | |||
# Extract cert and key | # Extract cert and key | ||
``` | ``` |
Revision as of 13:24, 30 March 2021
https://www.redhat.com/sysadmin/6-openssl-commands
Extract cert and key
openssl pkcs12 -in domain.pfx -clcerts -nokeys -out domain.crt openssl pkcs12 -in domain.pfx -nocerts -nodes -out domain.key
Update your Apache configuration file with:
<VirtualHost 192.168.0.1:443> ... SSLEngine on SSLCertificateFile /path/to/domain.crt SSLCertificateKeyFile /path/to/domain.key ... </VirtualHost>