From 6264846284182c88288888df727ae8f573bcacdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Thu, 13 Apr 2017 21:20:02 +0000 Subject: [PATCH] Add OpenSSL as dependency for P12 generation --- .travis.yml | 1 + certidude/authority.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0c6075c..ef04624 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,3 +25,4 @@ addons: - python-jinja2 - python-configparser - python-pyasn1 + - python-openssl diff --git a/certidude/authority.py b/certidude/authority.py index cbdee51..d7b016b 100644 --- a/certidude/authority.py +++ b/certidude/authority.py @@ -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()