I can confirm that this affects a clean install of Ubuntu 18.04. Steps to reproduce:
- install Ubuntu 18.04. Fully update it
- install "default-jdk" (sudo apt install default-jdk)
- try running the very simple attached program which tries to retrieve "https://www.google.com"
- it fails with javax.net.ssl.SSLException (see the complete stacktrace in the attachment)
Workaround: remove default-jdk, install openjdk-8, remove openjdk-8 and reinstall default-jdk:
I can confirm that this affects a clean install of Ubuntu 18.04. Steps to reproduce:
- install Ubuntu 18.04. Fully update it /www.google. com" ssl.SSLExceptio n (see the complete stacktrace in the attachment)
- install "default-jdk" (sudo apt install default-jdk)
- try running the very simple attached program which tries to retrieve "https:/
- it fails with javax.net.
Workaround: remove default-jdk, install openjdk-8, remove openjdk-8 and reinstall default-jdk:
sudo apt purge openjdk-default java-common
sudo apt purge default-jdk java-common
sudo apt install openjdk-8-jre
sudo apt purge openjdk-8-jre
sudo apt install default-jdk