Hi,
I have a client using httpclient 4.1.x (might be able to upgrade if it's a must)
I'm extending DefaultHttpClient,LayeredSchemeSocketFactory as well as 
implementing my own X509TrustManager.
I'm trying to achieve a temporary "override mode", for a few of my TLS GET 
requests to the server:
1. The server will be trusted enough for my program to to read the response 
string.
2. Be aware that the server wasn't actually supposed to be trusted, if not for 
the special override
3. Get the (supposed to be) untrusted chain so i can present it to the user
 
4. For the rest of the calls, the same server shouldn't necessarily be trusted 
(unless it's in the trust store).
 
I'd appreciate some pointers to the classes and approach i can take to achieve 
this behavior (mainly, get the untrusted chain as well as the server response.. 
but be aware that it shouldn't have been trusted).
 
 
Thanks!
Yair

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to