I'm using ssl-cert-check to track a list of my domains certificates.
In my crontab I set it to run quietly and email me expiring domains, but the command that I'm using to debug is:
ssl-cert-check -f ssldomains.txt -x 21 -i
It is correctly reading the file and retrieving the certificates for the entire list, but it does not appear to be getting the correct expiry date for certificates issued by LetsEncrypt.org
Other certificate providers do not seem to be affected by this problem.
For example a certificate that is expiring on 24 March 2017 when I inspect it in my browser is reported to be expiring on 15 Jan 2017.
I'm serving with nginx.
Why would the CLI tool be retrieving the wrong expiry date and how can I correct this?