I am trying to do a Read.Request function to a source that has certificate issues beyond my control.
It returns message similar to “Hostname/IP does not match certificate’s altnames: Host: XXXX. is not in the cert’s altnames: DNS:YYYY” (names changed).
How would I tackle this. Typically in node one would options like rejectUnauthorized:false or strictSSL:false in the options. I have tried adding these as headers, but they should be options, so having no success.
Please advise how to get around this.
Thank you in advance