We are building an AWS ActiveMQ project using Lambda (runs on Amazon Linux 2), which uses Qpid proton library from Apache. The issue ultimately seems to be that the Qpid library is unable to locate SSL on the system. The same code works fine in Ubuntu and Windows (running the same versions) but fails in Lambda.
Here is what I have tried so far:
I verified that SSL is available in Python with the command below:
import ssl;
print(ssl.OPENSSL_VERSION)
# prints:
# OpenSSL 1.0.2g-fip
But when I try to run the following it fails:
import proton;
print('%s' % 'SSL present' if proton.SSL.present() else 'SSL NOT Available')
# prints Not available
Here are the versions I tried: Python 3.8, 3.9, 3.10 and 3.11 Qpid 0.39.0
Any help is appreciated