On 19/03/2018 12:20, Stuart wrote:
> Hi I am putting together a new LFS/BLFS 8.2 system build and in trying to
> build wget-1.19.4 built I am having issues with make-ca-0.7 and Java-9.0.4.
> 
> I seem to be unable update/create the Java certificates.
> 
> example:
> 
> make-ca -g -f (second attempt from make-ca-0.7 directory)
> ...
> Certificate:? AffirmTrust Premium ECC
> Keyhash:????? 9c8dfbd4
> Added to GnuTLS certificate bundle.
> Warning: use -cacerts option to access cacerts keystore
> Warning: use -cacerts option to access cacerts Java (JKS) keystore.
> Added to Java (JKS) keystore.
> 
> checking java certs:
> 
> cd /opt/jdk
> bin/keytool -list -keystore /etc/ssl/java/cacerts
> keytool error: java.lang.Exception: Keystore file does not exist:
> /etc/ssl/java/cacerts
> 
> however:
> 
> ls -l /opt/jdk/lib/security/cacerts
> lrwxrwxrwx 1 root root 25 Mar 19 10:44 /opt/jdk/lib/security/cacerts ->
> /etc/ssl/java/cacerts.jks
> 
> ls -l /etc/ssl/java/cacerts.jks
> -rw-r--r-- 1 root root 157649 Mar 19 10:44 /etc/ssl/java/cacerts.jks
> 
> Any suggestions as to what I have done wrong ?
> 
> 

There is a typo on the java page:
"bin/keytool -list -keystore /etc/ssl/java/cacerts" should be
"bin/keytool -list -keystore /etc/ssl/java/cacerts.jks"

Note that a better test is:
"bin/keytool -list -cacerts"

See the development book, which should be fixed.

Regards
Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to