diff options
Diffstat (limited to 'modules/apache/templates')
-rw-r--r-- | modules/apache/templates/vhost_base.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/apache/templates/vhost_base.conf b/modules/apache/templates/vhost_base.conf index 974fd4f7..807a2a47 100644 --- a/modules/apache/templates/vhost_base.conf +++ b/modules/apache/templates/vhost_base.conf @@ -8,8 +8,15 @@ end <VirtualHost *:<%= port %>> <%- if use_ssl then -%> SSLEngine on + <%- if wildcard_sslcert 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 -%> <%- end -%> ServerName <%= real_vhost %> <%- server_aliases.each do |key| -%> |