サーバの証明書の有効期限を確認する
echo | openssl s_client -connect ${DOMAIN_NAME}:443 2>/dev/null | openssl x509 -noout -dates
#certificates #expire
echo | openssl s_client -connect ${DOMAIN_NAME}:443 2>/dev/null | openssl x509 -noout -dates
#certificates #expire