Skip to content

Conversation

@LuemmelSec
Copy link

In my case it would error out due to errors related to OpenSSL:

Certificate extraction mixed the certificate and private key into one file (the certificate file should only contain the cert). Errors were hidden, so failures went unnoticed.
The SSL library couldn't parse the mixed/corrupted PEM format, causing the "PEM lib" error. Fix:
Switched to Python's cryptography library to extract the certificate and key separately and write correctly formatted PEM files.

The issue was also mentioned here:
#6

In my case it would error out due to errors related to OpenSSL:

Certificate extraction mixed the certificate and private key into one file (the certificate file should only contain the cert).
Errors were hidden, so failures went unnoticed.
The SSL library couldn't parse the mixed/corrupted PEM format, causing the "PEM lib" error.
Fix:
Switched to Python's cryptography library to extract the certificate and key separately and write correctly formatted PEM files.

The issue was also mentioned here:
secureworks#6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant