VPC Lambda Function Cannot Make HTTPS Calls

I have a lambda function written in python. Through some testing, I am able to make http calls via the request library but not HTTPS calls. I need this because this function needs to call a rest-api. Does anyone have anything similar that has happened in the past that may be the cause of this? Below is the beginning of the error trace from requests. I see that it has something to do with the ssl library but searching in this area has not provided any useful results.

File “/var/task/OpenSSL/SSL.py”, line 309, in wrapper
_lib.X509_up_ref(x509)
AttributeError: module ‘lib’ has no attribute ‘X509_up_ref’

maybe you have your lambdas inside a VPC?! If so, you need to create a NAT and set the route table to get internet access in your lambda: