Open logandavies181 opened 7 months ago
I'm running into something similar to this. I am running an .NET ASP.NET API (.NET 8) that is utilizing the basic .NET local dev cert. I have the option off for certificate validation and a regular request to the https url will work normally. But if I hit that same URL using axios in a pre-request script, I get the following error: unable to verify the first certificate
.
I've been trying to use npm to include the https
library to be able to modify the axios call to turn off the rejectUnauthorized
on the https setup, but that returns the error Error invoking remote method 'send-http-request': Error: Error: Cannot find module https
https://stackoverflow.com/questions/51363855/how-to-configure-axios-to-use-ssl-certificate
I have checked the following:
Describe the bug
The options for SSL/TLS verification, as well as the configurable Custom CA Certificate are ignored when running scripts - pre, post and test.
Notably they do use NODE_EXTRA_CA_CERTS via Electron v30.0.0+ #2257
Reproduction steps
Create an HTTPS server in golang:
Then run the .bru file below
.bru file to reproduce the bug
Screenshots/Live demo link
Using the above setup: