ServerAdmin webmaster@localhost #ServerName localhost DocumentRoot /var/www/html LogLevel debug ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on # Certificats per validar HTTPS (aquests son autofirmats) SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key # Configuracio DNIe SSLCipherSuite HIGH:MEDIUM:-SSLv2 SSLProtocol -all +TLSv1.2 # Arxiu amb tots els certificats (cal afegir-hi el "AC RAIZ DNIE 2.crt") SSLCACertificateFile /etc/ssl/certs/ca-certificates.crt # Exportar contenido de certificados (para poder usarlos con PHP) SSLOptions +StdEnvVars +ExportCertData Options Indexes FollowSymLinks MultiViews SSLVerifyClient require #SSLVerifyClient optional_no_ca # Nivel máximo de profundidad (según infraestructura actual, 2) SSLVerifyDepth 2 AllowOverride None Order allow,deny allow from all SSLOptions +StdEnvVars SSLOptions +StdEnvVars