After upgrading to Debian 10 (buster), I had this problem as well for a number of certificates I monitor by calling ssl-cert-check from cron.
The patch fixed it for me as well. Best regards, Adam -- "Everything needs to change. Adam Sjøgren And it has to start today." a...@koldfront.dk