Difference between revisions of "Openssl"
Jump to navigation
Jump to search
(Created page with "# 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...") |
|||
Line 7: | Line 7: | ||
# Update your Apache configuration file with: | # Update your Apache configuration file with: | ||
+ | ``` | ||
<VirtualHost 192.168.0.1:443> | <VirtualHost 192.168.0.1:443> | ||
... | ... | ||
Line 14: | Line 15: | ||
... | ... | ||
</VirtualHost> | </VirtualHost> | ||
+ | ``` |
Revision as of 20:45, 26 October 2020
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>