Ignore:
Timestamp:
02/10/2019 02:26:31 AM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
d4bafcc7
Parents:
4ecbd94f
Message:

Remove instructions to regenerate cacerts file when installing Java as this is no longer necessary.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21118 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/ojdk-conf.xml

    r4ecbd94f r8944fff  
    100100      <envar>$JAVA_HOME</envar><filename>/lib/security/cacerts</filename> by
    101101      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
    105104      located in <filename class="directory">/etc/ssl/java</filename>.
    106       Run the conversion and setup a symlink in the default location as the
     105      Setup a symlink in the default location as the
    107106      <systemitem class="username">root</systemitem> user:
    108107    </para>
    109108
    110 <screen role="root"><userinput>/usr/sbin/make-ca -g --force &amp;&amp;
    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>
    112110
    113111    <para>
    114       Use the following commands to check if the <filename>cacerts</filename>
     112      Use the following command to check if the <filename>cacerts</filename>
    115113      file has been successfully installed:
    116114    </para>
    117115
    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>
    120117
    121118    <para>
Note: See TracChangeset for help on using the changeset viewer.