OR PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
echo -n | openssl s_client -connect nexus-devportal.de.dmz.tuhuk.de:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/kumar-pem.cert
sudo keytool -importcert -file /tmp/kumar-pem.cert -alias dmz-huk -storepass changeit -keystore /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts