Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How do I load a signed client certificate into a keystore

843811Jul 24 2001 — edited Sep 21 2007
Hello
Im getting:
[24/Jul/2001 12:50:18 01835] [error] OpenSSL: error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate [Hint: No CAs known to server for verification?]

when I try to connect to a server requiring client certificates. The client java program doesn't seem to send the actual certificate. I'm using the included SSLSocketClientWithClientAuth.java code and I am not sure how to add the signed client certificate to the 'testkeys' keystore. Assuming my server certificate file is called server.cert and the server certificate key file is called server.key, can anyone tell me how to generate and add a signed client certificate into the keystore which will actually get used. I've been banging my head off the wall for a couple of days now with this - all help appreciated greatly.

David
[Sorry for posting this in 2 places but I didnt notice this forum until after i'd already posted the other one]
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2007
Added on Jul 24 2001
10 comments
1,280 views