vuln-regex-detector icon indicating copy to clipboard operation
vuln-regex-detector copied to clipboard

Server certificate has expired

Open immo-huneke-zuhlke opened this issue 6 years ago • 1 comments
trafficstars

I have been unable to get the client to work initially, because every call to "test()" came back with "INVALID". The cause turned out to be this:

{ "code": "CERT_HAS_EXPIRED" } Expired: Tuesday, 30 April 2019 at 05:56:02 British Summer Time

A temporary workaround is to defeat server certificate checking in the client by inserting the following line just before the call to test():

process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;

Obviously not to be recommended!

immo-huneke-zuhlke avatar May 10 '19 11:05 immo-huneke-zuhlke

@immo-huneke-zuhlke Thanks for the heads up. I will get this fixed pronto.

davisjam avatar May 10 '19 13:05 davisjam