Maven is unable to connect to with "peer not authenticated"

Symptom: Maven is unable to connect to with "peer not authenticated".
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project hama-parent: Failed to retrieve remote metadata org.apache.hama:hama-parent:0.7.1-SNAPSHOT/maven-metadata.xml: Could not transfer metadata org.apache.hama:hama-parent:0.7.1-SNAPSHOT/maven-metadata.xml from/to apache.snapshots.https ( peer not authenticated -> [Help 1]
This is usually caused by using a SSL certificate on Nexus. you can use the keytool command like below:
 $ sudo keytool -importcert -file ~/Downloads/apache.crt -alias -keystore /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts


Popular posts from this blog

일본만화 추천 100선

AWS re:Invent 2017 참관기

조직 관성(Organizational Inertia)