Search for word "security" on npm website returns error "Hostname/IP doesn't match certificate's altnames"

registry
triaged

(Viktor Turskyi) #1

What I Wanted to Do

Search for a word “security” to find security-related modules

Here is URL - https://www.npmjs.com/search?q=security

What Happened Instead

I got error
" Hostname/IP doesn’t match certificate’s altnames: “Host: api.npmjs.org. is not in the cert’s altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net”"

Reproduction Steps

  1. You should be not logged into NPM (you can use Chrome incognito mode)
  2. Type “security” into search field or just use this url https://www.npmjs.com/search?q=security

(Hazmi35) #2

I have the same issue here


(Shift001) #3

I am also getting the same issue and when checking the certificates with an external tool get the following error…


(Ely De La Cruz) #4

I’m also getting this error as of about 6:30am this morning (Sept. 1st). Except I was trying to publish something (had published it successfully about 30-40 min. before). Error:

npm notice
npm ERR! publish Failed PUT undefined
npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! Hostname/IP does not match certificate's altnames: Host: registry.npmjs.org. is not in the cert's altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net

(Shift001) #5

See this post, Unable to install anything with NPM (or apm)


(system) #6

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.