Re: SSL authentication sample

2009-01-08 Thread Ger Hobbelt
A client cert is only sent when requested by the server, so that makes
this a Tomcat/apache issue, not an OpenSSL issue.

apps/s_client demo app supports transmission of client cert upon
request (try this in conjunction with the apps/s_server OpenSSL demo
app, for instance).

Check out this:

https://pkioverheid.gemnetcsp.nl/help/csr/tomcat.html

and watch for the

clientAuth

setting being mentioned there.

Also read the two-message thread here:

http://coding.derkeiler.com/Archive/Java/comp.lang.java.programmer/2006-09/msg02322.html

(click on 'next by thread' to see response) for some more info
regarding the Tomcat side of things.


HTH (hope This Helps),

Ger




On Thu, Jan 8, 2009 at 7:57 AM, lampa lampa2...@gmail.com wrote:

 I just want to know how to implement the bidirectional handshake process.
 Thank you
 Lampa
 --
 View this message in context: 
 http://www.nabble.com/SSL-authentication-sample-tp21346740p21346755.html
 Sent from the OpenSSL - User mailing list archive at Nabble.com.
 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing Listopenssl-users@openssl.org
 Automated List Manager   majord...@openssl.org




-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--
web:http://www.hobbelt.com/
http://www.hebbut.net/
mail:   g...@hobbelt.com
mobile: +31-6-11 120 978
--
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


SSL authentication sample

2009-01-07 Thread lampa

Hello all:
I want to build a client process  to connect the Tomcat (Web server) with
the SSL connection.
Now, I can find the sample () ,which describe the single direction 
authentication  in OpenSSL demo. But, I want to implement the bidirectional
authentication  ,that is not only the client accept the server certificate,
but also the service must verify the client certificate, and CIPHER
negotiation.
My client is built by myself and the code language is VC++  ,and the service
is Tomcat or Apache web server. I think that they can connect ,because the
SSL is standard  protocol .
Now, I don't know how to implement send the client certificate to server
,and CIPHER negotiation.
Who can give me a sample ,and Any hits is welcomed !
Thank you very much!
Lampa
-- 
View this message in context: 
http://www.nabble.com/SSL-authentication-sample-tp21346740p21346740.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: SSL authentication sample

2009-01-07 Thread lampa

I just want to know how to implement the bidirectional handshake process.
Thank you
Lampa
-- 
View this message in context: 
http://www.nabble.com/SSL-authentication-sample-tp21346740p21346755.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org