sayaksarkar.wordpress.com
Working around untrusted certificate errors in Express JS
Quick workaround for Error: DEPTH_ZERO_SELF_SIGNED_CERT and UNABLE_TO_VERIFY_LEAF_SIGNATURE while using express requests.