Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Server access Error: java.security.cert.CertificateException: No subject alternative DNS name matching repo1.maven.org found

Tags:

maven

sbt

I am doing: sbt clean and I started getting the following errors:

Server access Error: java.security.cert.CertificateException: No subject alternative DNS name matching repo1.maven.org found

This worked as recently as a few hours back. How do I fix this issue? I cannot do a build.

like image 407
user2947133 Avatar asked Jun 30 '15 04:06

user2947133


1 Answers

For anyone getting this problem recently, there's currently a bug with the maven repo ssl certificates: https://issues.sonatype.org/browse/MVNCENTRAL-2870

like image 154
mienaikoe Avatar answered Nov 15 '22 06:11

mienaikoe