You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
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:
# create the custom cert
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj "/CN=foo.example.com"# add an entry to /etc/hosts so we don't get hostname mismatch even though we# trust the certificateecho'127.0.0.1 foo.example.com'| sudo tee --append /etc/hosts
# create a quick https server which presents our brand new cert
go mod init test
cat <<EOF > main.gopackage mainimport ( "fmt" "net/http")func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { fmt.Println("got request") fmt.Fprintln(w, "hello world") }) http.ListenAndServeTLS(":8080", "cert.pem", "key.pem", nil)}EOF
go run .
Then run the .bru file below
.bru file to reproduce the bug
meta {
name: foo with axios
type: http
seq: 3
}
get {
url: https://foo.example.com:8080
body: none
auth: none
}
script:pre-request {
const axios = require("axios");
const resp = await axios({url:"https://foo.example.com:8080"});
const data = await resp.data;
console.log(data);
}
Screenshots/Live demo link
Using the above setup:
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: