If you run a self signed SSL certificate on your local web server and run tools that make http requests like phatomjs or uncss against that server you will receive a certificate verification error.

To temporarily disable Node.js built in SSL verification set the following environment variable:


N.B. You should understand that while you have this variable set you are open to SSL man in the middle attacks it is important to disable and delete that variable when running npm install or any other important Node commands.



Ryan is a hacker dad living in Cape Town, South Africa who likes Skate Boarding JavaScript and Functional Programming.

ryanwild @javascript_fn