From bcad30d0b9b46d7be743879a247b968844032cfd Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 30 Nov 2010 19:21:48 +0000 Subject: enable SNI and use one certificate per vhost for catalyst application --- modules/apache/templates/vhost_catalyst_app.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/apache/templates/vhost_catalyst_app.conf b/modules/apache/templates/vhost_catalyst_app.conf index 57867fc4..fcdd9ce1 100644 --- a/modules/apache/templates/vhost_catalyst_app.conf +++ b/modules/apache/templates/vhost_catalyst_app.conf @@ -8,14 +8,12 @@ end > <% if use_ssl then %> SSLEngine on - #TODO deploy SNI later - SSLCertificateFile /etc/ssl/apache/apache.pem - SSLCertificateKeyFile /etc/ssl/apache/apache.pem + SSLCertificateFile /etc/ssl/apache/<%= name %>.pem + SSLCertificateKeyFile /etc/ssl/apache/<%= name %>.pem <% end %> ServerName <%= name %> # Serve static content directly DocumentRoot /dev/null -# header <% if location then %> Alias /static <%= location %>/root/static -- cgit v1.2.1