Reverse proxy, two client certificates

Sep 27, 2010 at 8:39 AM


I am having trouble with the configuration of a reverse proxy with two SSL certificates.
We have our own intranet site, ssl secured. We have a certificate for a third party site, this certificate is, ofcourse, not the same as the certificate used by our company.

When I try the following rewriterule the logging shows the correct URL.
RewriteRule /MySecuredSite/AFolder https://ASecuredPublicSite/AFolder [NC,P]

However, it seems that our certificate is passed on to the third party site:
2010-09-27T09:17:29 [Proxy] Error received from https://ASecuredPublicSite/AFolder/TheRequestedPage.aspx: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

How can I solve this?