mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Merge branch 'nightly' into python3
# Conflicts: # plexpy/datafactory.py
This commit is contained in:
commit
fb395fc2e9
3 changed files with 7 additions and 4 deletions
|
@ -462,7 +462,11 @@ def create_https_certificates(ssl_cert, ssl_key):
|
|||
|
||||
This code is stolen from SickBeard (http://github.com/midgetspy/Sick-Beard).
|
||||
"""
|
||||
from OpenSSL import crypto
|
||||
try:
|
||||
from OpenSSL import crypto
|
||||
except ImportError:
|
||||
logger.error("Unable to generate self-signed certificates: Missing OpenSSL module.")
|
||||
return False
|
||||
from certgen import createKeyPair, createSelfSignedCertificate, TYPE_RSA
|
||||
|
||||
serial = timestamp()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue