Replace pyOpenSSL with cryptography

This is literally the example from the docs [0]. The only thing I
adapted are the parameters for the keys and certificate, so they
stay the same.

Fixes #1086

[0] https://cryptography.io/en/latest/x509/tutorial/#creating-a-self-signed-certificate
This commit is contained in:
corubba
2022-05-07 21:15:25 +02:00
parent fec649b747
commit 564ec6086d
2 changed files with 49 additions and 40 deletions

View File

@ -14,7 +14,6 @@ qrcode==6.1
dnspython>=1.16.0
gunicorn==20.0.4
python3-saml
pyOpenSSL==19.1.0
pytz==2020.1
cssmin==0.2.0
jsmin==3.0.0