4

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.

ssedano
  • 214
  • 4
  • 9

1 Answers1

0

Documentation says:

Currently there is no support for encrypted private keys

Are you shure about that?

As workaround I would advise to use SSLProxyMachineCertificatePath. It is more flexible anyway. The constraints regarding encrypted keys still applies.

B. Walger
  • 33
  • 1
  • 4