Hey everyone,
I;ve implemented SSL to my server using this guide
now when I connect the server it takes some time to initialize now, I assume its setting up stuff, and then when the client connects takes awhile as well (few seconds), I'd assume it works but I want to see a log or something where client and server create the handshake, any ideas how? The way that I start my server is:
java -Djavax.net.ssl.keyStore=keystore -Djavax.net.ssl.keyStorePassword=password HelloImpl &
What I tried was to use:
System.setProperty("javafx.net.ssl.keyStore","C:\\Users\\Slavi\\workspace\\rmiSSL\\keystore");
System.setProperty("javafx.net.ssl.keyStorePassword","password");
and then start the server using-Djavax.net.ssl.debug=all -cp . HelloImpl > 1.txt HelloImpl &
by doing so it prints out a lot of information in a file but at the end I don't see the things that my server is supposed to return when its up and running such as "Server running"
then I commented out the setProperty lines and tried started the server usingjava -Djavax.net.ssl.keyStore=keystore -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.debug=all -cp . HelloImpl > 1.txt HelloImpl &
and then in my text file I only get "Server running" and no information about the handshake after a client connets or what so ever. Although when I run a client, everything seems pretty smooth, and I get the expected result on client side
Any ideas? :x