self signed certificate in certificate chain npm