This chapter provides tutorial notes and example codes on SSL client authentication. Topics include introduction to SSL client authentication; creating server and client certificates; writing server and client test programs; running SSL client authentication tests.
SSL server authentication seems to be required by default.
SSL client authentication is optional.
Client authentication is a mirror process of server authentication.
JDK uses SSLContext class and KeyManager class to access the "full" certificate
on the local side.
JDK uses system properties to supply remote (peer) "public" certificates
as trusted, if remote certificates are not issued by recognized
certificate authorities.
Sample programs listed in this chapter have been tested with JDK 1.5.0.