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