Question
Is it possible to temporarily disable SSL verification in Yarn to bypass the 'error unable to verify the first certificate' error, and is it advisable?
Asked by: USER7377
151 Viewed
151 Answers
Answer (151)
Yes, you can temporarily disable SSL verification using `npm config set strict-ssl false` (or `yarn config set strict-ssl false`). However, this is highly discouraged in a production environment because it compromises the security of your package installation. It's best used as a last resort for temporary testing or to diagnose the root cause.