28 lines
772 B
ApacheConf
Executable file
28 lines
772 B
ApacheConf
Executable file
<IfModule mod_ssl.c>
|
|
<VirtualHost localhost:443>
|
|
ServerName localhost
|
|
ServerAdmin webmaster@localhost
|
|
|
|
DocumentRoot /var/www/html/cssl
|
|
LogLevel info ssl:debug
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error_c.log
|
|
CustomLog ${APACHE_LOG_DIR}/access_c.log combined
|
|
SSLEngine on
|
|
SSLCACertificateFile /etc/apache2/ssl/client_side_auth/ca.cer
|
|
SSLCertificateFile /etc/apache2/ssl/client_side_auth/server.cer
|
|
SSLCertificateKeyFile /etc/apache2/ssl/client_side_auth/server.key
|
|
SSLVerifyClient none
|
|
|
|
SSLOptions +StdEnvVars +ExportCertData
|
|
|
|
<Directory /var/www/html/cssl/>
|
|
SSLVerifyClient require
|
|
SSLVerifyDepth 10
|
|
#SSLOptions +FakeBasicAuth
|
|
</Directory>
|
|
|
|
</VirtualHost>
|
|
</IfModule>
|
|
|
|
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|