Skip to content

Instantly share code, notes, and snippets.

@tomoconnor
Created May 30, 2011 20:14
Show Gist options
  • Save tomoconnor/999404 to your computer and use it in GitHub Desktop.
Save tomoconnor/999404 to your computer and use it in GitHub Desktop.
Apache Config for SSL x509 Authentication
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