openssl: remove manual check for certificate expiration