About this course
This is a free, hands-on course on keytool, the command-line tool that ships with every JDK for managing Java keystores and truststores. It follows the Oracle keytool reference and uses PKCS12, the default keystore type since JDK 9, in every lesson, from the first self-signed certificate to HTTPS in Spring Boot, Tomcat, Docker, and Kubernetes.
Most keytool problems show up as an application stack trace rather than a keytool message, so a whole chapter works backward from the errors people actually search for, such as PKIX path building failed and Keystore was tampered with, or password was incorrect. Each fix starts from the exact error text and ends with a command that shows the problem is gone.
New to Java TLS? Start with keystore vs truststore and work through the chapters in order. If an application is already failing, go straight to the troubleshooting chapter, or find the cacerts file the JVM really loads.

