JDK Tutorials - Herong's Tutorial Examples - v6.31, by Dr. Herong Yang
SSL Socket Communication Testing Programs
This chapter provides tutorial notes and example codes on the SSL socket communication. Topics include SSL socket communication test requirements and programs; using trusted key store to fix self-signed certificates issue; using debug option to see SSL communication handshake details.
These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.
SSL Socket Communication Test
SslReverseEchoer.java - SSL Server Socket Example
SslSocketClient.java - SSL Client Socket Example
Making Self-Signed Certificates Trusted
javax.net.debug - Debugging SSL Socket Communication
"java.net.SocketException: Socket is closed" Error
Run SslReverseEchoer.java with EC Certificate
Run SslSocketClient.java with Trusted Certificate Store
Table of Contents