- Newest
- Most votes
- Most comments
Please post the exact error message you are seeing. Also, which Linux distribution are you using, exactly? (cat /etc/os-release).
If the site you are connecting to uses an SSL certificate from Lets Encrypt, you could be running into this issue as well: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-expired-certificate/
The error message is what I posted above: "cannot verify certificate." Further investigation suggested the site (which has been accessed by this identical script for years) might be requiring the newer version of the protocol which requires an update of openssl. But I can't install it. (I note that I was able to get the script to run finally by disabling host verification, but obviously that's only an emergency measure since we had to get this working).
The linux version info:
NAME: Amazon Linux AMI
Version: 2018.03
ID: amzn
ID_LIKE: rhel fedora
PRETTY NAME: Amazon Linux AMI 2018.03
CPE_NAME: cpe:/o:amazon:linux:2018.03:ga
Relevant content
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a month ago