Scala – sbt failing to start up with sun certificate errors on mac

certificatejvmpluginssbtscala

When i try to start my sbt, it fails with certain errors which prevents startup. I'm not behind corporate firewall. This is on a mac.

[error] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.17/ivys/ivy.xml
[error] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/sbt/0.13.17/ivys/ivy.xml
[error] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://artifactory.dkandu.me/artifactory/repo/org/scala-sbt/sbt/0.13.17/sbt-0.13.17.pom
[error] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://artifactory.dkandu.me/artifactory/sbt-plugins/org.scala-sbt/sbt/0.13.17/ivys/ivy.xml

Looked up lot of links for workaround, but couldn't get it to work. Has anyone solved these issues successfully in the past?

Related Topic