Add Certificate to JAVA keystore (cacerts)

Requirements: Have keytool installed (Installed as a part of the jre) Have your certificate local (either pem or der format) Know where your keystore is

 

DER vs. CRT vs. CER vs. PEM Certificates

Certificates and Encodings At its core an X.509 certificate is a digital document that has been encoded and/or digitally signed according to RFC 5280. In fact, the term X.509 certificate usually refers to the IETF’s PKIX Certificate and CRL Profile of the X.509 v3 certificate standard, as specified in RFC 5280, commonly referred to as […]