Here is my use case.
I want to learn how to setup Apache
, so this is just for learning. Feel free to suggest better alternatives. I'm using Apache 2.4
in RHEL5
. I want to use a ProxyPassMatch to proxy to two different sites
ProxyPassMatch "^/(a|b)/(*.jpg)$" https://$1.example.com/$2
But a.example.com
and b.example.com
requires different client certificates. I added
SSLProxyEngine on
SSLProxyMachineCertificateFile /path/certs/webs.pem
If the content of webs.pem
is only one pair (certificate and private key) it works fine to connect to the correct site. But if I add the second pair (certificate and private key) it does not work.