I need to test the handshake process of TLS. I thought to use inter-process communication in Linux. Is it possible or not?

If not, what simulator could be used for this purpose?

If yes, what do I need to do to implement this on Linux? Do I need to implement client and server communication as in the real situation? If I need to make Java app, how can that be done? What simulator or IDE can I use?

  • OpenSSL listening and connecting on some port to
    – SEJPM
    Mar 21, 2016 at 8:30
  • What are you trying to achieve? Just make sure that there is actually an SSL-enabled server listening on some port? Or list supported ciphers? Is this for monitoring/development/curiosity? (Anyway, I personally like to use the testssl.sh script to test SSL/TLS servers.) Apr 21, 2016 at 8:59

1 Answer 1


I don't know if this is the best channel to ask, however - this is how I do it.

Simple information:

openssl s_client -state -nbio -connect myhost:443 

If you need a deeper insight, you may want to create a Java application (this part you may not like if you're not from Java world) which connects to the SSL socket and start it with the following parameter: -Djavax.net.debug=ssl

This will print / debug the SSL hasdshake and SSL related events. If you want to print out all network events, you can use the all value.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .