🪪TLS Certificates
Java Stores
There are two keystore files used in Java:
Key Store: These files contain certificates to proof authentication with a private key. Certificates can be server certificates (e.g. www.acme.com), intermediate certificates or client certificates (e.g. john.doe@acme.com).
Trust Store: These files contain public certificates of trusted identities. Certificates are trusted root certificates (e.g. Verisign, Microsoft, etc.), intermediates certificates or trusted server and client certificates. A default file (usually named cacerts with the default password changeit) is shipped with the JVM.
Create Self Signed Certificate
Convert PEM certificate to P12
Create JKS file from P12 certificate
Add Client Certificate to JKS file
Display Content of JKS file
Simple TLS Server
TLS Connection Test
Last updated