- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 4 mois