Sysop:ApacheSSL

Aus immerda
Zur Navigation springen Zur Suche springen

Secure Apache with SSL-Certificates.

HowTo's

Troubleshooting

With Apache 2.2 the problem appeared that with the old way apache wasn't Listening anymore SSL-Secured on Port 443 and therefor https-connection attemps failed. And in the Logs there is stated:

[warn]  Init: You should not use name-based virtual hosts in conjunction with SSL!! "

However it is still possible and the solution provided in this Mail worked:

Here's the settings from my conf file:

<IfDefine SSL>

### SSL servers

         NameVirtualHost *:443

         <VirtualHost _default_:443>
                 # Put all the host info for the default host in here
         </VirtualHost>

         <VirtualHost *:443>
                 ServerName              your.server.and.domain
                 # Then just fill in all the server info for that virtual host
         </VirtualHost>

         <VirtualHost *:443>
                 ServerName              your.other.server.and.domain
                 # Then just fill in all the server info for that virtual host
         </VirtualHost>

</IfDefine>