-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
10.10.0 introduced issues with self signed certificates in chain for connection with dashboard api. #24298
Comments
@Jenson3210, thanks for opening this issue. Starting with Cypress 10.10.0, we are now verifying the dashboard cert for API calls from the app. I believe you'll need to either set |
@mschile both options I tried. As mentioned, |
Sorry for closing (phone issue) |
We have the same problem. Our test ENV is behind transparent proxy :-(.
|
@Jenson3210, thanks for the update. I was also able to recreate the issue locally using a proxy with a self-signed cert. I will discuss with the team on how we want to proceed. |
It appears Electron does NOT honor the NODE_EXTRA_CA_CERTS env variable. I am going to revert the change that introduced verifying the cert until we come up with a solution that also works for self-signed certs. |
The code for this is done in cypress-io/cypress#24370, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
We're seeing this on connection to dashboard api.
We have self signed corporate certificates in between.
In 10.10.0 I get
Also
https.get('https://api.cypress.io/', res => console.log(res.statusCode))
works (I get same 404 as browser) via regular node terminal (added company certificates through NODE_EXTRA_CA_CERTS env variable)When our vpn is disabled (hence no man-in-middle self signed corporate certificates) it is working fine.
Desired behavior
In 10.9.0 everything is fine and self signed certificates are validated by own CA.
Test code to reproduce
I could work on an example.
But just doing a https call in startup of tests towards dashboard is failing.
So startup icw dashboard api link on company netwrok with self signed certificates
Cypress Version
10.10.0
Node version
v16.15.0
Operating System
MacOS 12.6
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: