Certificate issues connecting to SL
See original GitHub issueI’m trying to get the wallet running on Linux. After quite some theater I’m able to launch SL and Daedalus now, but Daedalus hangs with the well known “Connecting to network” message, and I see the console flooded with messages like:
[10:11:52:0147] [error] AdaApi::syncProgress error: {
"stack": "Error: self signed certificate\n at TLSSocket.<anonymous> (_tls_wrap.js:1088:38)\n at emitNone (events.js:86:13)\n at TLSSocket.emit (events.js:188:7)\n at TLSSocket._finishInit (_tls_wrap.js:610:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)",
"message": "self signed certificate",
"code": "DEPTH_ZERO_SELF_SIGNED_CERT"
}
[10:11:52:0166] [error] AdaApi::getLocalTimeDifference error: {
"stack": "Error: self signed certificate\n at TLSSocket.<anonymous> (_tls_wrap.js:1088:38)\n at emitNone (events.js:86:13)\n at TLSSocket.emit (events.js:188:7)\n at TLSSocket._finishInit (_tls_wrap.js:610:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)",
"message": "self signed certificate",
"code": "DEPTH_ZERO_SELF_SIGNED_CERT"
I’m using cardano-SL master ( https://github.com/input-output-hk/cardano-sl/commit/797dfa4704adfd566c425357ced6787f0a576268 ) and the recommended version for Daedalus ( ab6aab0c5203e9bad9af66d17ad65b460f61f226 ) which is supposed to get along with the timedifference issue. Though, I suppose the errors concerning some certificate have some other reason, and I didn’t see any reports about that so far. I’m running node v6.12.3 on Ubuntu 16.04. Pls let me know if I can help with further debug data.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
What Does SSL Connection Error Mean and How to Fix It
Here's what you can do to fix it: Step 1 – Clear Browser History – press CTRL + SHIFT + DELETE at the...
Read more >What Do SSL Certificate Errors Mean: Causes & How to Fix ...
An SSL certificate error occurs when the browser cannot verify the SSL certificates returned by the server.
Read more >Error message when you connect to SQL Server
The certificate received from the remote server was issued by an untrusted certificate authority error when you connect to SQL Server.
Read more >A Simple Explanation of SSL Certificate Errors & How to Fix ...
An SSL certificate error occurs when a web browser can't verify the SSL certificate installed on a site. Rather than connect users to...
Read more >How to Fix SSL Connection Error on Android Phone
Ways to Fix the SSL Connection Error · 1. Make Sure the Date and Time are Correct · 2. Clear Chrome's Browsing Data...
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
I had the same issue. Solved it by setting
NODE_TLS_REJECT_UNAUTHORIZED=0
as environmental variableI was also able to work around this by copying or symbolic linking the cardano-sl’s nodes ‘state-wallet-mainnet/tls/server.cert’ to ~/tls/ca/ca.crt for Daedalus.