openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #10662
[Bug 1396760] [NEW] ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
Public bug reported:
Ubuntu server 14.10 64 bit:
sudo apt-get install openjdk-8-jre-headless
installs also ca-certificates-java which results in follwing error during install:
...
Setting up ca-certificates-java (20140324) ...
/var/lib/dpkg/info/ca-certificates-java.postinst: line 53: java: command not found
/var/lib/dpkg/info/ca-certificates-java.postinst: line 66: java: command not found
done.
Processing triggers for ca-certificates (20140325) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
/etc/ca-certificates/update.d/jks-keystore: 82: /etc/ca-certificates/update.d/jks-keystore: java: not found
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
...
This results in an unconfigued empty /etc/ssl/certs/java/cacerts.
This induces errors in user applications like " javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
Solution:
sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure
The root cause for the error is to me unknown, maybe wrong sequence
order during package configuration?
BR
us2000
Description: Ubuntu 14.10
Release: 14.10
ca-certificates-java:
Installed: 20140324
Candidate: 20140324
Version table:
*** 20140324 0
500 http://de.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
100 /var/lib/dpkg/status
openjdk-8-jre-headless:
Installed: 8u40~b09-1
Candidate: 8u40~b09-1
Version table:
*** 8u40~b09-1 0
500 http://de.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
100 /var/lib/dpkg/status
** Affects: ca-certificates-java (Ubuntu)
Importance: Undecided
Status: New
** Tags: ca-certificates-java cacerts openjdk-8
** Package changed: lubuntu-meta (Ubuntu) => ca-certificates-java
(Ubuntu)
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to ca-certificates-java in Ubuntu.
https://bugs.launchpad.net/bugs/1396760
Title:
ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
Status in “ca-certificates-java” package in Ubuntu:
New
Bug description:
Ubuntu server 14.10 64 bit:
sudo apt-get install openjdk-8-jre-headless
installs also ca-certificates-java which results in follwing error during install:
...
Setting up ca-certificates-java (20140324) ...
/var/lib/dpkg/info/ca-certificates-java.postinst: line 53: java: command not found
/var/lib/dpkg/info/ca-certificates-java.postinst: line 66: java: command not found
done.
Processing triggers for ca-certificates (20140325) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
/etc/ca-certificates/update.d/jks-keystore: 82: /etc/ca-certificates/update.d/jks-keystore: java: not found
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
...
This results in an unconfigued empty /etc/ssl/certs/java/cacerts.
This induces errors in user applications like " javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
Solution:
sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure
The root cause for the error is to me unknown, maybe wrong sequence
order during package configuration?
BR
us2000
Description: Ubuntu 14.10
Release: 14.10
ca-certificates-java:
Installed: 20140324
Candidate: 20140324
Version table:
*** 20140324 0
500 http://de.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
100 /var/lib/dpkg/status
openjdk-8-jre-headless:
Installed: 8u40~b09-1
Candidate: 8u40~b09-1
Version table:
*** 8u40~b09-1 0
500 http://de.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1396760/+subscriptions
Follow ups
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: stevenschlansker, 2017-08-29
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Hans Joachim Desserud, 2017-01-09
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: stevenschlansker, 2017-01-04
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Benjamin Drung, 2016-03-30
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Bug Watch Updater, 2016-03-22
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: pa.lassonde@xxxxxxxxx, 2016-02-09
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: guyvdb, 2015-09-05
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Hans Joachim Desserud, 2015-04-29
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Mondane, 2015-04-29
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Mondane, 2015-04-29
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Simon Raffeiner, 2015-04-28
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Bug Watch Updater, 2015-02-02
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Hans Joachim Desserud, 2015-02-01
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Tianon Gravi, 2015-01-20
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: us2000, 2015-01-17
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: us2000, 2015-01-17
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Hans Joachim Desserud, 2015-01-17
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Tianon Gravi, 2015-01-05
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Alberto Salvia Novella, 2015-01-01
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Hans Joachim Desserud, 2014-12-30
-
[Bug 1396760] Re: ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Hans Joachim Desserud, 2014-12-30
-
[Bug 1396760] [NEW] ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: us2000, 2014-11-26
-
[Bug 1396760] [NEW] ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
From: Launchpad Bug Tracker, 2014-11-26
References