I also installed the ca-certificates-java_20180516ubuntu1~18.04.1_all.deb package. It fixed the problems I was having with Maven.
I also installed the ca-certificates -java_20180516u buntu1~ 18.04.1_ all.deb package. It fixed the problems I was having with Maven.