Re: [xSocket-develop] How to extract client SSL certificate
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@go...> - 2008-08-01 15:46:11
|
Hi Dragan, currently xSocket-http doesn't support getting the SSLSession. Please add a feature request for this Thanks Gregor 2008/7/31 Dragan Gajic <dg...@gm...> > Hi all, > > I'm using xSocket to write proxy which will use information from client SSL > certificate in order to forward to one of the possible target URLs. I have > used HttpProxy example from xsocketHttp V2_0_beta1 and added SSL support > using SSLContext. That all is working, but I'm having problems to get right > SSLSession object from SSLContext because I need id of the session in order > to do that (I need SSLSession object in order to reach client SSL > certificate). > So if I pass SSLContext reference to my ForwardHandler and do something > like > this: > > SSLSessionContext sslSessionContext = sslContext.getServerSessionContext(); > > I just need sessionId in order to get SSLSession object.This id can be > reached via SSLSocket for example, but I don't see how to get it. > > Is there any other way to get client SSL certificate in mutual SSL > authentication case? > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > |