On Fri, Aug 29, 2008 at 08:11:24AM +0200, Krist van Besien wrote: > On Thu, Aug 28, 2008 at 17:46, <bfb21@xxxxxxxxxxx> wrote: > > > How do you secure a second virtual host with an SSL certificate, so I can then > > access https://www.myserver2.com? > > The usual answer to this question is: You can't. See: > http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#vhosts2 > > There is an experimental extension to the SSL protocol, called SNI, > which would make virtualhosts possible. As far as I can see this > requires a recompile of both apache and openssl... ISTM that you can run a second instance of 'httpd' with a second certificate on a different port [e.g. https://www.myserver2.com:8443/] and a different configuration file. I have never tried this, though. -- /*********************************************************************\ ** ** Joe Yao jsdy@xxxxxxx - Joseph S. D. Yao ** \*********************************************************************/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx