logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod_ssl SSLProxyMachineCertificateFile
Author
ray_h



Joined: 09 Sep 2012
Posts: 2

PostPosted: Sun 09 Sep '12 20:58    Post subject: mod_ssl SSLProxyMachineCertificateFile Reply with quote

I'm running Centos 5 apache httpd-2.2.3-65. This webserver is setup to reverse proxy a http connection to https on a remote IIS server. The IIS server requires authentication with a certificate.

client/http-> Apache R Proxy/https client cert -> remote iis system

In my reverse proxy virtual host, I'm specifying my pem file with SSLProxyMachineCertificate. However when I try to access the remote iis server I get a 403.7 error msg complaining that I'm not sending my cert.

In my debug error log I see...


[Sun Sep 09 01:21:57 2012] [debug] ssl_engine_kernel.c(1595): Proxy client certificate callback: (VHOST:9050) entered

[Sun Sep 09 01:21:57 2012] [debug] ssl_engine_kernel.c(1640): Proxy client certificate callback: (VHOST:9050) no client certificate found!?


What condition causes this message to be produced? I know my cert is ok, I can access the remote site with openssl s_client. I know apache knows where it is -- its readable etc. Any insight into this error would be greatly appreciated.

Thanks.
Ray
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 10 Sep '12 17:51    Post subject: Reply with quote

I found a solution on http://www.zeitoun.net/articles/client-certificate-x509-authentication-behind-reverse-proxy/start by googling

if you still have a question let us know.
Back to top
ray_h



Joined: 09 Sep 2012
Posts: 2

PostPosted: Mon 10 Sep '12 20:16    Post subject: Reply with quote

I got this working. It seems I was running up against an issue with the CA's being presented by the remote webserver. I found this patch -- which fixed my issue.

https://issues.apache.org/bugzilla/show_bug.cgi?id=47134

Thanks for your help.
Back to top


Reply to topic   Topic: mod_ssl SSLProxyMachineCertificateFile View previous topic :: View next topic
Post new topic   Forum Index -> Apache