chiadog icon indicating copy to clipboard operation
chiadog copied to clipboard

Telegram: SSL Certificate verification failure

Open waiiting opened this issue 3 years ago • 2 comments

hello when I run chiang I get the following problem

[ ERROR] --- Failed to send events over telegram: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129) (notify_manager.py:66)

Environment:

  • OS: WINDOWS 10 PRO LITE
  • Python version: 3.9
  • PIP version: ?
  • Chia version: 1.2.0

waiiting avatar Jul 11 '21 15:07 waiiting

Are you running chiadog from within a docker container?

martomi avatar Jul 14 '21 20:07 martomi

Got the same error after upgrading from Windows 7 to Windows 10. Chiadog runs without a docker container.

Chia 1.28 Python 3.10

Edit: I figured it out by my self:

  1. Download certificate from web.telegram.org (HowTo: https://jhooq.com/2-ways-to-fix-ssl-certificate-problem-self-signed-certificate-in-certificate-chain/#firefox-to-get-self-signed-certificate)
  2. Install certificate in windows, run certmgr.msc and import the downloaded certificate in Trusted Root Certification Authority -> Certificates. (HowTo: https://jhooq.com/2-ways-to-fix-ssl-certificate-problem-self-signed-certificate-in-certificate-chain/#getting-windows-10-to-trust-self-signed-ssl-certificates)
  3. done

sudo-mk-sandwich avatar Oct 31 '21 11:10 sudo-mk-sandwich