Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-9600

SNI based certificate didn't match for registry.npmjs.org using IBM Java

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 2.11.4
    • NPM, Transport
    • None

    Description

      We are trying to create a proxy repository with https://registry.npmjs.org/ but we are unable to due to this certificate issue below. Any ideas on how to resolve this issue ?

      jvm 1 | 2016-01-05 01:06:46,455-0500 WARN [proxy-3-thread-5] admin com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository - Remote peer of proxy repository "npmjs Registry" [id=npmjs] threw a org.sonatype.nexus.proxy.RemoteStorageException exception. Connection/transport problems occured while connecting to remote peer of the repository. Auto-blocking this repository to prevent further connection-leaks and known-to-fail outbound connections until administrator fixes the problems, or Nexus detects remote repository as healthy. - Cause(s): Transport error while executing GET method [repositoryId="npmjs", requestPath="/", remoteUrl="https://registry.npmjs.org/"] > hostname in certificate didn't match: <registry.npmjs.org> != <a.sni.fastly.net> OR <a.sni.fastly.net> OR <a.sni.global-ssl.fastly.net>

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          42 kB
        2. screenshot-2.png
          screenshot-2.png
          10 kB
        3. screenshot-3.png
          screenshot-3.png
          49 kB
        4. screenshot-4.png
          screenshot-4.png
          11 kB
        5. support-20160311-112611-2.zip
          6 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ong@ca.ibm.com Jeff Ong
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title