The goal is - let te httpd listens at port 80 plain unencrypted HTTP requests. The request will be forwared to https://some.site/ where there is a HTTPS with client authentication.
Findings:
Client certificate key/cert file format (directive SSLProxyMachineCertificateFile):
- key + certificate need to be in single PEM file looking something like
-----BEGIN RSA PRIVATE KEY-----
MIIE...
...
...
...
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MII...
...
.,
...
-----END CERTIFICATE----- - mind the RSA part (emphasized above) of private key header - some openssl versions use the header with and some without the RSA letters
- without RSA
- my version of apache httpd wants it there
After above changes were made server started and operated as expected.
References:
http://apache-http-server.18135.x6.nabble.com/Apache-fails-to-start-if-SSLProxyMachineCertificateFile-does-not-contain-RSA-td5009238.html