Sun Web Server 7.0u2 - reverse proxy client authentication response 403
Mar 12, 2009 5:35 PM
There is the ssl client authentication Sun Web Server 7.0u2 on front-end connects to the ssl client authentication Sun web server 7.0u2 on back-end via reverse proxy.
- Using the MS Internet Explorer 6, it always returns "403 forbidden" error
- But it works fine if back-end web server is not a client authentication server
Do we have any way to pass the client certificate from the front-end web server to the back-end server?
did you check out this blog
http://blogs.sun.com/meena/entry/configuring_reverse_proxy_in_web
which describes how to store the origin server (your back end server) 's ssl certificate within reverse proxy
this might require you to do some thing like
terminate ssl at the front end (rp)
and initiate ssl been reverse proxy and origin server (back end). this is done simply by using https://<back end server name> provided the back end certificate is installed within the reverse proxy
Both of these web servers have the same CA certificates.
And the reverse proxy works for the back-end SSL web server and the non-SSL web server.
It doens't work for the back-end SSL Client Authentication web server.
Re: Sun Web Server 7.0u2 - reverse proxy client authentication response 403
Mar 13, 2009 11:05 AM
(reply 4
of 9) (In reply to
#3 )
After using the "forward-auth-cert" function, the browser still shows "403 Forbidden".
How can the back-end server get the client certificate?
I tried to use AuthenTrans fn="auth-passthrough", but it didn't work.
Re: Sun Web Server 7.0u2 - reverse proxy client authentication response 403
Sep 17, 2009 3:11 AM
(reply 5
of 9) (In reply to
#4 )
First tell me what your requirement is , as far as I understand, you need
1. FRONT END WebServer 7.0 acting as reverse proxy, enable SSL on it.
2. BACK END WebServer 7.0 (will call it as Origin Server), enable SSL on it and make SSL Client Certificate Authentication work (where client certificate authentication means it should authenticate client certificates sent by browser).
2. As per http://forums.sun.com/thread.jspa?threadID=5397719
"By default, the reverse proxy stores the client's certificate in the "Proxy-auth-cert" HTTP header. The reverse proxy cannot, however, authenticate to the origin server using the client's certificate. That's a fundamental characteristic of public key infrastructure."
Re: Sun Web Server 7.0u2 - reverse proxy client authentication response 403
Sep 17, 2009 6:15 AM
(reply 8
of 9) (In reply to
#6 )
mikeo121 wrote:
I've finally managed to get reverse proxy working on 443. In the end I pulled the user's certificate out of the Proxy-auth-cert header. Thanks for the help!