Error creating SSL key and certificate
Posted: January 7th, 2020, 9:03 am
Hello,
Hoping to get some help i have been struggling with this for 2 days..
I am trying to enable HTTPS with sabnzbd generated cert and key and every attempt throws the error Error creating SSL key and certificate
I am on windows 7 using latest stable version with default directories. I am not sure what else to try in attempt to fix.
Reason i need to enable is that is appears sonarr is disabling TLS 1.2 on startup when it detects SABnzbd is running without certs and this is preventing successfully connecting to certain site APIs.
Here is the message from the log:
2020-01-07 07:40:37,365::ERROR::[misc:1462] Error creating SSL key and certificate
2020-01-07 07:40:37,365::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-01-07 07:40:37,365::WARNING::[SABnzbd:1296] Disabled HTTPS because of missing CERT and KEY files
Help is greatly appreciated.
Thank you in advance,
Patrick
Hoping to get some help i have been struggling with this for 2 days..
I am trying to enable HTTPS with sabnzbd generated cert and key and every attempt throws the error Error creating SSL key and certificate
I am on windows 7 using latest stable version with default directories. I am not sure what else to try in attempt to fix.
Reason i need to enable is that is appears sonarr is disabling TLS 1.2 on startup when it detects SABnzbd is running without certs and this is preventing successfully connecting to certain site APIs.
Here is the message from the log:
2020-01-07 07:40:37,365::ERROR::[misc:1462] Error creating SSL key and certificate
2020-01-07 07:40:37,365::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-01-07 07:40:37,365::WARNING::[SABnzbd:1296] Disabled HTTPS because of missing CERT and KEY files
Help is greatly appreciated.
Thank you in advance,
Patrick