Created
May 30, 2011 20:14
-
-
Save tomoconnor/999404 to your computer and use it in GitHub Desktop.
Apache Config for SSL x509 Authentication
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
SSLEngine On | |
## path to the server signed certificate | |
SSLCertificateFile /etc/ssl/myca/certs/webserver.crt | |
## path to the server key | |
SSLCertificateKeyFile /etc/ssl/myca/private/webserver.key | |
## path to Root CA signed certificate | |
SSLCACertificateFile /etc/ssl/myca/certs/myca.crt | |
## path to CA Certificate Revocation List | |
SSLCARevocationFile /etc/ssl/myca/crl/myca.crl | |
## duration of the session cache | |
SSLSessionCacheTimeout 3600 | |
<Directory /var/www/secure> | |
SSLVerifyClient require | |
SSLVerifyDepth 1 | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment