I'm hoping someone could help me with this question...
I am running an Apache 2.4.7 server on my Ubuntu 14.04 box with some public facing sites. For some of those sites I've implemented a Client Cert Authentication using self signed certs. I am trying to change my configuration such that when a client connects to the site while on the same network as server, bypass the authentication altogether.
Here's the snippet of my config file:
SSLEngine On
SSLProtocol -all +TLSv1 +SSLv3
SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
SSLCertificateFile /etc/ssl/ca/certs/server.crt
SSLCertificateKeyFile /etc/ssl/ca/private/server.key
SSLCACertificateFile /etc/ssl/ca/certs/serverCA.crt
SSLVerifyClient require
SSLProxyEngine Off
ProxyRequests Off
I have tried modifying this configuration by moving SSLVerifyClient require
into a Location
block like so:
<Location />
Order deny,allow
Deny from all
Allow from 192.168.1.0/24
SSLVerifyClient require
Satisfy any
</Location>
Unfortunately, that did not work and I would still be either prompted for the cert or my site would be freely available from the internet.
Thank you very much for your help