From e11d9a7713734f4063119a62452bdbc7aa16064f Mon Sep 17 00:00:00 2001 From: JackDandy Date: Tue, 17 Jan 2017 13:09:14 +0000 Subject: [PATCH] Change increase self-signed cert key length. --- sickbeard/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/helpers.py b/sickbeard/helpers.py index d1156cda..07437114 100644 --- a/sickbeard/helpers.py +++ b/sickbeard/helpers.py @@ -644,12 +644,12 @@ def create_https_certificates(ssl_cert, ssl_key): return False # Create the CA Certificate - cakey = createKeyPair(TYPE_RSA, 1024) + cakey = createKeyPair(TYPE_RSA, 4096) careq = createCertRequest(cakey, CN='Certificate Authority') cacert = createCertificate(careq, (careq, cakey), serial, (0, 60 * 60 * 24 * 365 * 10)) # ten years cname = 'SickGear' - pkey = createKeyPair(TYPE_RSA, 1024) + pkey = createKeyPair(TYPE_RSA, 4096) req = createCertRequest(pkey, CN=cname) cert = createCertificate(req, (cacert, cakey), serial, (0, 60 * 60 * 24 * 365 * 10)) # ten years