mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 16:25:17 +00:00
Add OpenSSL as dependency for P12 generation
This commit is contained in:
parent
b0f593dae3
commit
6264846284
@ -25,3 +25,4 @@ addons:
|
||||
- python-jinja2
|
||||
- python-configparser
|
||||
- python-pyasn1
|
||||
- python-openssl
|
||||
|
@ -258,7 +258,6 @@ def generate_pkcs12_bundle(common_name, key_size=4096, owner=None):
|
||||
try:
|
||||
from OpenSSL import crypto
|
||||
except ImportError:
|
||||
logger.error("For P12 bundles please install pyOpenSSL: pip install pyOpenSSL")
|
||||
raise
|
||||
else:
|
||||
p12 = crypto.PKCS12()
|
||||
|
Loading…
Reference in New Issue
Block a user