I'm writing a script to check the SSL
expiry dates of all my domains.
This works for my normal sites:
echo | openssl s_client -connect $domain:443 2> /dev/null | openssl x509 -noout -enddate
However it does not work for AWS CloudFront
. I have uploaded my own certificate to CF
and am using a CNAME
.
The output is:
CONNECTED(00000003)
15336:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Does anyone know why?
I have already tried -ssl2
and -no_ssl3
options.