aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/vhost_ssl.conf
blob: e39e68207f6994c4b79e2d13db2d72124f7f1cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
        SSLEngine on
        SSLProtocol ALL -SSLv2 -SSLv3
        SSLHonorCipherOrder On
        SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
  <%- if wildcard_sslcert == 'true' then -%>
        SSLCertificateFile /etc/ssl/wildcard.<%= domain %>.crt
        SSLCertificateKeyFile /etc/ssl/wildcard.<%= domain %>.key
        SSLCACertificateFile /etc/ssl/wildcard.<%= domain %>.pem
        SSLVerifyClient None
  <%- else -%>
        SSLCertificateFile /etc/ssl/apache/<%= real_vhost %>.pem
        SSLCertificateKeyFile /etc/ssl/apache/<%= real_vhost %>.pem
  <%- end -%>