by @kodeazy
Java How to import a certificate into Java cacerts?
In this blog we will discuss on how to import a certificate
inside my java path using gradle.
Lets suppose I have certificate
named example.crt
To import that certificate
into my Java
below is the syntax.
keytool -import -alias exampleCertificate -keystore "C:/Program Files/softwares/Java/jdk-16.0.1/lib/security/cacerts" -file C:/Program Files/Tester/Desktop/example.crt
Default password for importing the certificate
is changeit