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선

음성 인공지능 스타트업의 기회 분석

공유 모빌리티 회사로 합류

인간 본성의 법칙 (책 리뷰 + 잡담)