Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.java.security > #193

Re: SSLSocketFactory, mut

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Lothar Kimmeringer" <lothar.kimmeringer@THRWHITE.remove-dii-this>
Subject Re: SSLSocketFactory, mut
Message-ID <1no39ws9e67jd$.dlg@kimmeringer.de> (permalink)
X-Comment-To comp.lang.java.security
Newsgroups comp.lang.java.security
In-Reply-To <3f667da6-c985-4481-aa84-86bc662030a8@f77g2000hsf.googlegroups.com>
References <3f667da6-c985-4481-aa84-86bc662030a8@f77g2000hsf.googlegroups.com>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 30
Date Wed, 27 Apr 2011 16:08:41 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303920521 96.60.20.240 (Wed, 27 Apr 2011 11:08:41 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 11:08:41 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.security:193

Show key headers only | View raw


  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 | NextPrevious in thread | Find similar


Thread

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