Java Keystore Location

Sheeraz Gul Jun 07, 2022
Java Keystore Location

This tutorial demonstrates where the Keystores are located in Java.

Java Keystore Location

The Keystore in Java manages the certifications; the Keystore is a secured collection of aliased entries of certifications and keys. By default, the Keystores are located in a file at the following location.

JAVA_HOME/jre/lib/security/cacerts

Or, in Windows, it can be in this location.

C:\Program Files\Java\jre1.8.0_321\lib\security\cacerts

The picture below shows the directory above.

Keystore Location

Similarly, the Keystore location can be found in the JRE directory of the Java home path.

Author: Sheeraz Gul
Sheeraz Gul avatar Sheeraz Gul avatar

Sheeraz is a Doctorate fellow in Computer Science at Northwestern Polytechnical University, Xian, China. He has 7 years of Software Development experience in AI, Web, Database, and Desktop technologies. He writes tutorials in Java, PHP, Python, GoLang, R, etc., to help beginners learn the field of Computer Science.

LinkedIn Facebook

Related Article - Java Keystore