Solved - Help with SSL: ImportError: cannot import name aead
Posted: June 3rd, 2020, 2:17 pm
I'm trying to wrap my head around SSL since my sonarr and radarr installs continuously throw ssl/tls errors that my googling skills make me think that my issue may be because sab has either no cert or a bad one. When I attempt to have sab create a cert I get this error
So I used a program and self signed a cert and I get this error
I'm able to connect to sab using https and it does give me an error saying the cert is self signed, but I can view the cert via firefox and everything looks good besides the cert error in sab. Sonarr and Radarr seem to not have thrown indexer errors yet, but I usually notice those every ~12 hours or so.
So is my self signed cert ok? Do the ssl/tls errors I get loop back to Sab or am I going down the wrong path.
Code: Select all
2020-06-03 14:04:14,901::ERROR::[misc:1462] Error creating SSL key and certificate. I am running as admin when I get this.
2020-06-03 14:04:14,901::INFO::[misc:1463] Traceback:
Traceback (most recent call last):
File "sabnzbd\misc.pyo", line 1458, in create_https_certificates
File "sabnzbd\utils\certgen.pyo", line 39, in generate_key
File "cryptography\hazmat\backends\__init__.pyo", line 15, in default_backend
File "cryptography\hazmat\backends\openssl\__init__.pyo", line 7, in <module>
File "cryptography\hazmat\backends\openssl\backend.pyo", line 25, in <module>
ImportError: cannot import name aead
2020-06-03 14:04:14,901::WARNING::[SABnzbd:1296] Disabled HTTPS because of missing CERT and KEY files
Code: Select all
SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1946)
So is my self signed cert ok? Do the ssl/tls errors I get loop back to Sab or am I going down the wrong path.