Re: Re: Anyone good with multiple SSL on Apache?

From: Date: Wed, 10 Mar 2010 08:57:12 +0000
Subject: Re: Re: Anyone good with multiple SSL on Apache?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-302651@lists.php.net to get a copy of this message
Thanks Per, well here is a short translation of this article: http://www.tech-nerds.de/blog/2009/02/apache2-mit-mehreren-ssl-virtualhosts/ If you havn't installed apache2-threaded-dev: You need the current verion of gnutls (download from gnu.org) Download, unpack, compile and install as usual. Than call ldconfig. And than install apache2-threaded-dev: ./configure --with.apxs2=/usr/bin/apxs2 make install (Which copies apache module (hopefully) to this path: /usr/lib/apache2/modules) Than create /etc/apache2/mods-enabled/gnutls.load with following entry: LoadModule gnutls_module /usr/lib/apache2/modules/mod_gnutls.so And you have to Create /etc/apache2/mods-enabled/gnutls.conf containing the following: <IfModule gnutls_module> GnuTLSCache dbm /var/cache/mod_gnutls_cache GnuTLSCacheTimeout 300 </IfModule> Well and than every vhost that has to use SSL needs an entry like this: <VirtualHost 192.168.1.250:443> ServerName www.example.de GnuTLSEnable on GnuTLSPriorities NORMAL GnuTLSCertificateFile /etc/certs/example_server.pem GnuTLSKeyFile /etc/certs/example_key.pem DocumentRoot "/var/www/example.de" ... </DocumentRoot> regards Jochen Schultz P.S. I think i will have to give it a try right now. Per Jessen schrieb:
Jochen Schultz wrote:
AFAIK Apache 2 doesn't support virtual hosts for SSL.
I think it does now - there was even a c't article on the topic not long ago. I'll see if I can find it. /Per
-- Sport Import GmbH - Amtsgericht Oldenburg - Tel: +49-4405-9280-63 Industriestrasse 39 - HRB 1202900 - 26188 Edewecht - GF: Michael Müllmann

« previous php.general (#302651) next »