From: Thanh Ha Date: Mon, 9 Apr 2018 17:57:46 +0000 (-0400) Subject: Add note about SNI issues with Nexus X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F9853%2F1;p=releng%2Fdocs.git Add note about SNI issues with Nexus Issue: RELENG-806 Change-Id: Id4251ea866b4c76e36cfd5f1996f03991b66b674 Signed-off-by: Thanh Ha --- diff --git a/docs/infra/nexus.rst b/docs/infra/nexus.rst index 276a237..4bd34a8 100644 --- a/docs/infra/nexus.rst +++ b/docs/infra/nexus.rst @@ -22,3 +22,31 @@ of inodes such as XFS for the logs storage. OpenDaylight ran out of inodes before due to logs. Issue documented in Jira https://jira.linuxfoundation.org/browse/RELENG-773 + +Troubleshooting +=============== + +SSL certificate does not match due to SNI +----------------------------------------- + +When using the nexus-staging-maven-plugin and the build fails with the message +below. This is due to Nexus 2 not supporting +`SNI `_ and +prevents the staging plugin from uploading artifacts to Nexus. + +The workaround for this is to use another method to upload to Nexus such as +cURL which is capable of ignoring the failure. + +.. error:: + + | [ERROR] Failed to execute goal + org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy-staged-repository + (default-cli) on project standalone-pom: Execution default-cli of goal + org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy-staged-repository + failed: Nexus connection problem to URL [https://nexus.opendaylight.org ]: + com.sun.jersey.api.client.ClientHandlerException: + javax.net.ssl.SSLException: hostname in certificate didn't match: + != OR + -> [Help 1] + +Refer to https://jira.linuxfoundation.org/browse/RELENG-21 for further details.