mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 09:29:13 +00:00 
			
		
		
		
	Add OpenSSL as dependency for P12 generation
This commit is contained in:
		| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user