UniTO/anno2/mie/Sicurezza/esercizi/sicurezza2/sites-available/default-ssl.conf

29 lines
772 B
Text
Raw Normal View History

2019-02-07 00:11:49 +01:00
<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