Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.lang.java.security > #193
| From | "Lothar Kimmeringer" <lothar.kimmeringer@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: SSLSocketFactory, mut |
| Message-ID | <1no39ws9e67jd$.dlg@kimmeringer.de> (permalink) |
| Newsgroups | comp.lang.java.security |
| References | <3f667da6-c985-4481-aa84-86bc662030a8@f77g2000hsf.googlegroups.com> |
| Date | 2011-04-27 16:08 +0000 |
| Organization | TDS.net |
To: comp.lang.java.security
James Appleby wrote:
> My code runs through all of the non-mutual authenticated requests
> correctly, but at the first page after it expects the client
> certificate to be present, instead of returning the page, it redirects
> me to login, which is the server application's way of reprompting for
> the certificate.
>
> It seems I must be not setting something vital in my Java code that is
> handled automatically by the HttpClient. Any help on what I can do to
> get this code working will be greatly appreciated.
Make sure that the client-certificate is the only thing missing
and not e.g. a Cookie. Why are you trying to implement every-
thing for yourself, if HttpClient works?
Regards, Lothar
--
Lothar Kimmeringer E-Mail: spamfang@kimmeringer.de
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)
Always remember: The answer is forty-two, there can only be wrong
questions!
---
* Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.security | Previous | Next — Previous in thread | Find similar
SSLSocketFactory, mutual "James Appleby" <james.appleby@THRWHITE.remove-dii-this> - 2011-04-27 16:08 +0000 Re: SSLSocketFactory, mut "Lothar Kimmeringer" <lothar.kimmeringer@THRWHITE.remove-dii-this> - 2011-04-27 16:08 +0000
csiph-web