Skip to content

Instantly share code, notes, and snippets.

@felipekm
Created August 1, 2022 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipekm/18cf564ee3ba4a092dbc758f37b2c91a to your computer and use it in GitHub Desktop.
Save felipekm/18cf564ee3ba4a092dbc758f37b2c91a to your computer and use it in GitHub Desktop.
Fixes nvm ls-remote "N/A".

Tested in MacOS

  • Creates a file on your root: ~/.curlrc
  • Adds -k inside of it.

This option allows curl to proceed and operate even for server connections otherwise considered insecure. The server connection is verified by making sure the server's certificate contains the right name and verifies successfully using the cert store.

See this online resource for further details: http://curl.haxx.se/docs/sslcerts.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment