Error: unable to get local issuer certificate
See original GitHub issueIssue
When installing cypress via node on a restrictive network at a large corp, I receive the following error:
The Cypress App could not be downloaded.
Please check network connectivity and try again:
----------
URL: https://download.cypress.io/desktop/2.0.2?platform=darwin&arch=x64 …
Error: unable to get local issuer certificate
----------
Platform: darwin (16.7.0)
Cypress Version: 2.0.2
Accessing the link directly works. Also I can WGET and Curl the link without issue.
I tried setting NODE_TLS_REJECT_UNAUTHORIZED=0
but that didn’t seem to resolve the issue. My corporate security team asked:
They using their own CA store in the downloader? NODE_TLS_REJECT_UNAUTHORIZED=0 usually fixes that unless they use their own CA bundle, which would 100% break in our environment."
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:13 (3 by maintainers)
Top Results From Across the Web
SSL cerfrificaion problem: 'unable to get local issuer certificate'
The unable to get local issuer certificate error is caused by the misconfiguration of the SSL certificate on your local machine. When pushing,...
Read more >SSL Error: unable to get local issuer certificate - Stack Overflow
You will be able to test this locally with OpenSSL. Try openssl s_client -connect <server>:<port> -CAfile <GlobalSign Root CA.pem> . The command ...
Read more >How to Fix Unable to get Local Issuer Certificate - howtouselinux
“Unable to get Local Issuer Certificate” is a common SSL certificate error. It is related to the incomplete certificate chain such as (most...
Read more >unable to get local issuer certificate" error. What am I missing?
The error "Unable to get local issuer certificate" is caused by a misconfiguration of the SSL certificate on your machine. An SSL certificate...
Read more >SSL Certificate Problem: Unable to get Local Issuer Certificate
The common cause behind “Cause of SSL Certificate Problem: Unable to get Local Issuer Certificate” is an error that causes misconfiguration ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you run into this problem due to corp firewall rules and are using WSL, you can do this to work around. Change the version as needed.
npm install cypress is failing, I am using windows 10 64 bit and our company uses zscaler ,Can someone help ? Installing Cypress (version: 7.7.0)
The Cypress App could not be downloaded.
Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: https://on.cypress.io/proxy-configuration
Otherwise, please check network connectivity and try again:
URL: https://download.cypress.io/desktop/7.7.0?platform=win32&arch=x64 Error: unable to get local issuer certificate
Platform: win32 (10.0.18363) Cypress Version: 7.7.0 npm WARN TODOMVC-TESTS@1.0.0 No description npm WARN TODOMVC-TESTS@1.0.0 No repository field.