Work around for cert issues

19 views
Skip to first unread message

Tim Harper

unread,
Jul 23, 2015, 4:28:34 PM7/23/15
to simple-build-tool
Posting this where someone else can find it:

Today repo.scala-sbt.org is having cert configuration issues. The error message is as follows:

Server access Error: java.security.cert.CertificateException: No subject alternative DNS name matching repo.scala-sbt.org found. url=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.google.code.findbugs/jsr305/2.0.1/jars/jsr305.jar

It looks like the cert installed for repo.scala-sbt.org is actually the cert for repo.typesafe.com.

This causes sbt installation to fail miserably.

As a workaround, you can add this to ~/.sbt/0.13/plugins/temp-workaround.scala:

resolvers += Resolver.url("Scala SBT non-https", new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)

Tim
Reply all
Reply to author
Forward
0 new messages