Sonatype Nexus OSS plugin for npm (https://www.npmjs.org) repository suport
25
stars
7
forks
source link
Can't proxy on Nexus 2.9.2-01: 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> #23
When trying to register a proxy to "https://registry.npmjs.org/", the server Auto-blocks the proxy because of a certificate issue.
jvm 1 | 2014-10-06 18:42:49,411+0000 WARN [proxy-3-thread-4] admin com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository - Remote peer of proxy repository "npm-proxy" [id=npm-proxy] 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="npm-proxy", requestPath="/", remoteUrl="https://registry.npmjs.org/"] > hostname in certificate didn't match: != <a.sni.fastly.net> OR <a.sni.fastly.net> OR <a.sni.global-ssl.fastly.net>
Although this might be the expected behavior for security reasons, is there a way to "whitelist" this server is trusted?
When trying to register a proxy to "https://registry.npmjs.org/", the server Auto-blocks the proxy because of a certificate issue.
jvm 1 | 2014-10-06 18:42:49,411+0000 WARN [proxy-3-thread-4] admin com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository - Remote peer of proxy repository "npm-proxy" [id=npm-proxy] 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="npm-proxy", requestPath="/", remoteUrl="https://registry.npmjs.org/"] > hostname in certificate didn't match: != <a.sni.fastly.net> OR <a.sni.fastly.net> OR <a.sni.global-ssl.fastly.net>
Although this might be the expected behavior for security reasons, is there a way to "whitelist" this server is trusted?
thanks!