Skip to content

Instantly share code, notes, and snippets.

@gene1wood
gene1wood / fix-for-cryptography-certificate_transparency-libffi-error.md
Created February 2, 2018 22:59
Fix for python module cryptography certificate_transparency libffi error in AWS Lambda

The problem

In a AWS Lambda function that uses the python cryptography module, possibly as a dependency of the pyOpenSSL module, you get the error

cannot import name certificate_transparency

Or alternatively you get an error like this