graylog-labs / graylog-plugin-metrics-reporter

Graylog Metrics Reporter Plugins

Home Page:https://www.graylog.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Host name 'repo.maven.apache.org' does not match the certificate subject provided by the peer

cragr opened this issue · comments

When doing a mvn package I get the following error:

[ERROR] Failed to execute goal on project metrics-reporter-parent: Could not resolve dependencies for project org.graylog.plugins:metrics-reporter-parent:pom:1.4.1-SNAPSHOT: Failed to collect dependencies at org.graylog2:graylog2-server:jar:2.0.0 -> org.glassfish.jersey.ext:jersey-bean-validation:jar:2.22.1 -> org.hibernate:hibernate-validator:jar:5.1.3.Final: Failed to read artifact descriptor for org.hibernate:hibernate-validator:jar:5.1.3.Final: Could not transfer artifact org.jboss.shrinkwrap:shrinkwrap-bom:pom:1.0.1 from/to central (https://repo.maven.apache.org/maven2): Host name 'repo.maven.apache.org' does not match the certificate subject provided by the peer (CN=repo1.maven.org, O="Sonatype, Inc", L=Fulton, ST=MD, C=US) -> [Help 1]

I found some other links and have tried their solutions to no avail. http://stackoverflow.com/questions/40682932/maven-certificate-broken-for-ubuntu-16-04

Any ideas?

Annnnnnnnnnnd it's working now. Not sure what happened to fix the issue. I tried installing different packages, rebooting 4 times, and it works. However, I doubt that was the real solution.