Skip to content

[QUESTION] Effect of strict-ssl=false is unclear #3321

@cedws

Description

@cedws

strict-ssl is documented as follows:

Whether or not to do SSL key validation when making requests to the registry via https.

The questions that come to mind around this is:

  • Is SSL really meant here, not TLS?
  • Validation of what key against what? Presumably the client's? Is it relevant if not using mutual authentication?
  • What happens if said validation fails?
  • Does disabling this introduce an MITM risk, like curl -k would?
  • When is there a good reason for disabling this? Is it required if you're using a self signed certificate? What if you pass that CA certificate into npm, does it need to be disabled still?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting Informationfurther information is requestedRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions