PKI Tutorials - Herong's Tutorial Examples - v2.32, by Herong Yang
Java Programs Communicating with HTTPS Servers
This chapter provides tutorial notes and example codes on writing Java programs communicating with HTTPS servers. Topics include using Java Secure Socket Extension (JSSE); using openStream() method in the java.net.URL class; using default trusted CA KeyStore file 'cacerts'; using 'keytool' to manage KeyStore files; using system property: javax.net.ssl.trustStore to override KeyStore file.
Java Secure Socket Extension (JSSE)
Using openStream() Method in java.net.URL Class
javax.net.ssl.trustStore System Property
Default Trusted KeyStore File - cacerts
Conclusions:
Table of Contents
Introduction of PKI (Public Key Infrastructure)
Introduction of HTTPS (Hypertext Transfer Protocol Secure)
Using HTTPS with Google Chrome
Using HTTPS with Mozilla Firefox
HTTPS with IE (Internet Explorer)
Android and Server Certificate
Windows Certificate Stores and Console
RDP (Remote Desktop Protocol) and Server Certificate
macOS Certificate Stores and Keychain Access
Perl Scripts Communicating with HTTPS Servers
PHP Scripts Communicating with HTTPS Servers
►Java Programs Communicating with HTTPS Servers
.NET Programs Communicating with HTTPS Servers
CAcert.org - Root CA Offering Free Certificates
PKI CA Administration - Issuing Certificates
Comodo Free Personal Certificate
Digital Signature - Microsoft Word
Digital Signature - OpenOffice.org 3