*** This bug is a duplicate of bug 1739631 ***
    https://bugs.launchpad.net/bugs/1739631

Thank you for taking the time to report this bug and helping to make
Ubuntu better.

I'm marking this as a duplicate of bug #1739631 since the issue is
caused by ca-certificates-java.

** This bug has been marked a duplicate of bug 1739631
   Fresh install with JDK 9 can't use the generated PKCS12 cacerts keystore file

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/1768799

Title:
  Java can't connect to https sites

Status in openjdk-lts package in Ubuntu:
  Confirmed

Bug description:
  My original problem was that leiningen was not able to download a
  project's dependencies, instead it gave errors containing
  "java.security.InvalidAlgorithmParameterException: the trustAnchors
  parameter must be non-empty"

  I have verified this with a minimal Java program (attached)

  Expected behaviour: reads and prints the first line of the Leiningen
  README from github (nothing significant about this file except that it
  is accessible via https)

  Actual behaviour: error report (attached, first few line reproduced below)
  Exception in thread "main" javax.net.ssl.SSLException: 
java.lang.RuntimeException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter 
must be non-empty
        at java.base/sun.security.ssl.Alerts.getSSLException(Alerts.java:214)
        at 
java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1974)
        at 
java.base/sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1926)

  I have checked that I get the expected behaviour on Windows

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: openjdk-11-jdk 10.0.1+10-3ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Thu May  3 11:14:28 2018
  InstallationDate: Installed on 2018-04-03 (29 days ago)
  InstallationMedia: Lubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  SourcePackage: openjdk-lts
  UpgradeStatus: Upgraded to bionic on 2018-04-27 (5 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1768799/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openjdk
Post to     : openjdk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openjdk
More help   : https://help.launchpad.net/ListHelp

Reply via email to