Nicolas's workshop

Java Environment

December 08, 2025

In Windows

Command to import a private PKI root chain certificate of an artifactory registry into the local JDK is the following:

keytool -importcert -alias artifactory2025 -file "C:\Users\myusername\Downloads\artifactory.example.com.crt" -cacerts -storepass changeit

It is assumed that the root chain certificate "artifactory.example.com.crt" of the registry server has been downloaded into "C:\Users\myusername\Downloads".

Previous: Java Arrays