This chapter provides tutorial notes and example codes on HTTPS (Hypertext Transfer Protocol Secure). Topics include introduction to HTTPS; HTTPS server and client test programs; testing HTTPS connection with IE browser.
HTTPS is HTTP running on top of SSL. You can write HTTPS server and
client programs like any other SSL socket programs.
When IE connects to a HTTPS server, and gets an invalid certificate,
it will abandon the connection. HTTPS server program needs to be smart
to handle this.
Sample programs listed in this chapter have been tested with JDK 1.5.0.