Changeset 7ae2bfb for general/prog/ojdk-conf.xml
- Timestamp:
- 02/10/2019 02:27:54 AM (5 years ago)
- Branches:
- elogind
- Children:
- bc5b7af
- Parents:
- eb056a19
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/ojdk-conf.xml
reb056a19 r7ae2bfb 100 100 <envar>$JAVA_HOME</envar><filename>/lib/security/cacerts</filename> by 101 101 default. In order to keep all the certificates in one place, we use 102 <filename>/etc/ssl/java/cacerts</filename>. That file should be 103 generated using the system PKI trust store. The instructions 104 on the <xref linkend="make-ca"/> page should be used to update the file 102 <filename>/etc/ssl/java/cacerts</filename>. The instructions 103 on the <xref linkend="make-ca"/> page previously created the file 105 104 located in <filename class="directory">/etc/ssl/java</filename>. 106 Run the conversion and setup a symlink in the default location as the105 Setup a symlink in the default location as the 107 106 <systemitem class="username">root</systemitem> user: 108 107 </para> 109 108 110 <screen role="root"><userinput>/usr/sbin/make-ca -g --force && 111 ln -sfv /etc/pki/tls/java/cacerts /opt/jdk/lib/security/cacerts</userinput></screen> 109 <screen role="root"><userinput>ln -sfv /etc/pki/tls/java/cacerts /opt/jdk/lib/security/cacerts</userinput></screen> 112 110 113 111 <para> 114 Use the following command sto check if the <filename>cacerts</filename>112 Use the following command to check if the <filename>cacerts</filename> 115 113 file has been successfully installed: 116 114 </para> 117 115 118 <screen role="root"><userinput>cd /opt/jdk 119 bin/keytool -list -cacerts</userinput></screen> 116 <screen role="root"><userinput>/opt/jdk/bin/keytool -list -cacerts</userinput></screen> 120 117 121 118 <para>
Note:
See TracChangeset
for help on using the changeset viewer.