Certificate Problems

When executing npm install or npm update, it may happen that an untrusted certificate is found in the chain. In this case, this leads to an NPM error. To still be able to execute the NPM command, the certificate verification can be disabled. But it is important to know that NPM will trust every certificate by doing this, so this adjustment should be reverted as soon as the installation is completed.

  export NODE_TLS_REJECT_UNAUTHORIZED=0
  

Last updated 21 Feb 2025, 10:55 +0100 . history