|
I have created an SSL socket server, I think correctly using code similar to:code:
I have created a certificate using: keytool -genkey -keystore mySrvKeystore -keyalg RSA I have code else where that starts a listener and accepts when a connection is made. I started up the java server with the additional vm params: -Djavax.net.ssl.keyStore=<the store filename> -Djavax.net.ssl.keyStorePassword=<the password> I created a quick java client to connect (and have also used openssl for testing). I see on the server side the connection made, but the client: 1. Cannot retrieve the certificate for viewing 2. Writes data on the socket, but nothing appears on the server side What am I missing?
|
# ¿ Dec 7, 2010 17:34 |
|
|
# ¿ May 20, 2024 05:28 |