Installation of certificate for Java Runtime: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
מ |
|||
שורה 8: | שורה 8: | ||
Download the NetFree Security certificate from. http://netfree.link/netfree-ca.crt | Download the NetFree Security certificate from. http://netfree.link/netfree-ca.crt | ||
− | Then run the following command | + | Then run the following command in an elevated command prompt<ref>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.</ref>: |
<pre> | <pre> | ||
שורה 24: | שורה 24: | ||
<br /> | <br /> | ||
+ | |||
+ | <references /> |
גרסה מ־11:16, 25 בינואר 2019
לעברית לחצו כאן
To switch from edit view to read view
Home page > Security certificate > Installation of certificate for Java Runtime
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
- ↑ 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.