SSL Client does not return certificate

J

Joe Wong

Hello,

I use keytool to import the client certificate into a keystore file. In
the program, I used

System.setProperty("javax.net.ssl.keyStore", "myclient.ks");
System.setProperty("javax.net.ssl.keyStorePassword", "password");

To specify the client server.

When connecting to my test SSL server, which is implemented in Python,
It reports the error:

SSL3_GET_CLIENT_CERTIFICATE, 'peer did not return a cerficiate'

How can I program my client to send the correct certifcate to the server?

Best regards,

- Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,525
Members
44,997
Latest member
mileyka

Latest Threads

Top