ca-certificates-java doesn't create /etc/ssl/certs/java/cacerts
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ca-certificates-java (Debian) |
Fix Released
|
Unknown
|
||
| | ca-certificates-java (Ubuntu) |
High
|
Unassigned | ||
Bug Description
Ubuntu server 14.10 64 bit:
sudo apt-get install openjdk-
installs also ca-certificates
...
Setting up ca-certificates
/var/lib/
/var/lib/
done.
Processing triggers for ca-certificates (20140325) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-
/etc/ca-
E: /etc/ca-
done.
...
This results in an unconfigued empty /etc/ssl/
This induces errors in user applications like " javax.net.
Solution:
sudo /var/lib/
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
Installed: 20140324
Candidate: 20140324
Version table:
*** 20140324 0
500 http://
100 /var/lib/
openjdk-
Installed: 8u40~b09-1
Candidate: 8u40~b09-1
Version table:
*** 8u40~b09-1 0
500 http://
100 /var/lib/
| affects: | lubuntu-meta (Ubuntu) → ca-certificates-java (Ubuntu) |
| Hans Joachim Desserud (hjd) wrote : | #1 |
| Changed in ca-certificates-java (Ubuntu): | |
| status: | New → Confirmed |
| tags: | added: utopic |
| Changed in ca-certificates-java (Ubuntu): | |
| importance: | Undecided → High |
| Tianon Gravi (tianon) wrote : | #2 |
Has this also been reported upstream in Debian? I can't find anything related in the BTS.
| Hans Joachim Desserud (hjd) wrote : | #3 |
>Has this also been reported upstream in Debian?
No, I don't think so. I've tried here with a minimal Sid VM, but I have not been able to reproduce this issue nor bug 1406483 which I stumbled across recently. So while I would normally forward bugs to Debian, I am hesitant since I'm not able to trigger the issue there. I don't really know how to investigate this issue further so I'm open to suggestions.
| us2000 (q-launchpad-r) wrote : | #4 |
Reproduce with Virtualbox:
lubuntu-
No install, boot into life-system
(Kernel Boot Parameter vga=791 for display bug)
Then in the Live-System:
sudo apt-get update
sudo apt-get install openjdk-
--or--
ubuntu-
Default install, only openssh-server installed
Then in the installed system:
sudo apt-get update
sudo apt-get install openjdk-
Java bug also triggered, when you do an system update before java install:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
reboot
sudo apt-get update
sudo apt-get install openjdk-
debian-
-->could not be tested, there exists no openjdk-8-* package in default apt config
Best regards us2000
| us2000 (q-launchpad-r) wrote : | #5 |
fetched java version in ubuntu: 8u40~b09-1_amd64
| Tianon Gravi (tianon) wrote : | #6 |
https:/
(more reproducing, and a patch)
| Hans Joachim Desserud (hjd) wrote : | #7 |
>https:/
Thanks, I wasn't able to trigger this on Debian. I've attached a bug watch so that we'll be notified when the issue is fixed.
| Changed in ca-certificates-java (Debian): | |
| status: | Unknown → New |
| Sturm Flut (sturmflut) wrote : | #8 |
I've just run into this bug on Vivid with OpenJDK 8u45-b14-1_amd64 and ca-certificates
| Mondane (mondane-woodworker) wrote : | #9 |
Same problem on a clean Ubuntu 15.04 installation.
| Mondane (mondane-woodworker) wrote : | #10 |
NB OpenJDK was installed after I installed this package: http://
| tags: | added: vivid |
| guyvdb (guyvdb-gmail) wrote : | #11 |
Same problem here on a fully updated 15.04. The reported solution works. This bug breaks the use of sbt and maven build systems.
Thanks alot !
I think for me the problem came from installing openjdk-8-jre first and then openjdk-8-jdk. I used sudo apt-get install. Anyways, your solution worked perfectly.
| Changed in ca-certificates-java (Debian): | |
| status: | New → Fix Released |
| Benjamin Drung (bdrung) wrote : | #13 |
This bug is fixed in ca-certificates
| Changed in ca-certificates-java (Ubuntu): | |
| status: | Confirmed → Fix Released |
We just ran into this bug on 14.04
How come it never got backported? This is a super serious issue, and just led to a outage on our site :(
| Hans Joachim Desserud (hjd) wrote : | #15 |
>How come it never got backported?
I guess nobody requested it for an older release before now, see https:/
Though, I do wonder whether what you are experiencing is the exact same issue. According to bug 1560405 and https:/
We bring in Java 8 from openjdk-r. Not having supported Java 8 in Trusty is one of our other huge gripes, and arguably the fact that it's not integrated and tested but you have to use a PPA instead is part of why these problems don't get found until users try to use the software :)


Thanks for taking your time to report this issue and help making Ubuntu better.
I stumbled across this issue after I had reported a similar one. (Bug 1406483 where I triggered it by installing maven and openjdk-8-jdk)
I was able to reproduce this issue when installing openjdk- 8-jre-headless on Ubuntu 14.10, though when I tried on Ubuntu Vivid it added the certificates and worked fine. Tough I don't see why it would as neither openjdk-8 nor the ca-certificates -java package has changed between these two releases.
(Oh, and I also found bug 983302 where it looks like the same issue has plagued the headless package for openjdk-7)