Your test with curl is not really valid against the amazonaws site. Use curl against a known https site:
Code:
curl -v https://www.paypal.com/
If you just want to see what certificate the server is offering:
Code:
openssl s_client -connect www.paypal.com:443
openssl s_client -connect www.amazonaws.com:$PORT
where $PORT is that which is used by the ec2din tool.
If you're trying to figure out where certs are stored on you local system , then that depends on what OS/distro you are using. curl uses the openssl library, and can be found on debian-based systems under
/etc/ssl/certs (which should be a symlink to
/usr/share/ca-certificates/mozilla)
hope that helps