Verify cert is correct

openssl s_client -connect domoticz.iix.se:443 -servername domoticz.iix.se </dev/null

Verify date of expiry for installed cert

# HTTPS
openssl s_client -connect example.com:443 -servername example.com 2>/dev/null </dev/null | openssl x509 -noout -dates

# SMTP
% openssl s_client -starttls smtp -connect smtp.iix.se:25 </dev/null 2>/dev/null | openssl x509 -noout -dates