There’s no reason for such an error to occur for a properly configured site using a Let’s Encrypt certificate.