Last active
September 12, 2022 14:23
-
-
Save ryansechrest/87e12970e95aa32a3f34 to your computer and use it in GitHub Desktop.
SSL Certificate Setup in Virtual Host
This file contains hidden or 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
<IfModule mod_ssl.c> | |
<VirtualHost *:443> | |
Include vhosts.d/includes/domain.com.conf | |
SSLEngine on | |
SSLProtocol all -SSLv2 | |
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW | |
SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 | |
SSLCertificateChainFile /var/www/ssl/certificate-authority-default.crt | |
SSLCertificateFile /var/www/ssl/star.domain.com.crt | |
SSLCertificateKeyFile /var/www/ssl/star.domain.com.key | |
</VirtualHost> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment