JAVA does’nt know your ca root certificate

On 13/11/2012, in Linux, by Specialist

 

You have like this error when use java applet;

means java does not trust your root ca cert.

You can check java trust root ca cert this way;

password:changeit

C:\Program Files (x86)\Java\jre7\bin>keytool -list -v -keystore ../lib/security/cacerts > C:\export.txt

You can import your root ca cert this way;

password:changeit

C:\Program Files (x86)\Java\jre7\bin>keytool -import -alias customcacert -keystore ..\lib\security\cacerts -file C:\root.cer

 

New article https://docs.microsoft.com/en-us/azure/java-add-certificate-ca-store

 

 

 

 

Bir cevap yazın

E-posta hesabınız yayımlanmayacak.

This site uses Akismet to reduce spam. Learn how your comment data is processed.