Import Trusted Root Certificates into Java KeyStore on Windows using keytool.exe

Browser to corresponding JRE directory

cd C:\Program Files\Java\jrex.x.x_xxx\bin

Import CA-Certificats into cacerts file

keytool.exe -import -alias MyRootCA01 -file c:\temp\MyRootCA01.cer -keystore ../lib/security/cacerts

Default Password ist changeit

Leave a Reply

Your email address will not be published. Required fields are marked *