Installation of certificate for Java Runtime
לעברית לחצו כאן
To switch from edit view to read view
Home page > Security certificate > Installation of certificate for Java Runtime
Update: as of 3 May 2019, a new certificate installation software was released, the new software automatically installs the certificate also in Java.
The Java Runtime does not use the OS certificate store, but instead maintains it's own trusted certificate store. In order for Java based programs (e. g. Eclipse IDE) to be able to access secure sites, it is necessary to separately install a certificate into the Java certificate store[1].
Download the NetFree Security certificate from. http://netfree.link/netfree-ca.crt
Then run the following command in an elevated command prompt[2]:
keytool -import -trustcacerts -alias netfree-ca -file netfree-ca.crt -keystore "%JAVA_HOME%"/jre/lib/security/cacerts -storepass changeit
"keytool" is located in the next location:
%JAVA_HOME%\bin
Or:
C:\Program Files\Java\jdk<Your JDK version>\bin
Some Java based programs install their own Java runtime in the programs directory, rather than relying on the system-wide JRE. In this case, the path to cacerts
in the above command must be replaced to point to the cacerts
file contained in the applications private JRE.
- ↑ The installation of the certificate for Java is supposed to be dealt with in the automatic installer. However, due to a bug, for the time being this doesn't work with 64 bit installations of the Java Runtime. See here.
- ↑ The Security certificate must be stored in the same folder as keytool, otherwise in the command you must change the parameter "netfree-ca.crt" to the full path of the certificate.