I have a VHOST configuration that I need a fresh set of eyes on. We have SSLEngine enabled in two virtual hosts - on on port 443 and another on port 4432. For some reason, regardless of whether the connection comes in on 443 or 4432 it automatically resorts to the first vhost defined. If I put 443 on top it uses that config for 443 and 4432 and if I put 4432 on top it uses that config for 443 and 4432. Can anyone tell me why it's just grabbing the top virtual host even though they only should be going to their respective ports? I know that SSL needs it's own IP but it's my understanding a separate Port should suffice too?
Listen *:443 <VirtualHost *:443> SSLEngine On SSLCertificateFile ... SSLCertificateKeyFile ... SSLCertificateChainFile ... ... </VirtualHost> Listen *:4432 <VirtualHost *:4432> SSLEngine On SSLCertificateFile a_different_file... SSLCertificateKeyFile a_different_file... SSLCertificateChainFile a_different_file... ... </VirtualHost>