User Tools

Site Tools


openssl

Checks for lifetime, SAN and such. (I tend to forget these all the time…)

SMTP:

  openssl s_client -starttls smtp -connect MAILSERVER:25 | openssl x509 -noout -dates

HTTPS:

  openssl s_client -connect WEBSERVER:443 | openssl x509 -noout -dates

SAN:

  openssl s_client -connect WEBSERVER:443 | openssl x509 -noout -text | grep "DNS:"

LDAP:

  openssl s_client -connect LDAP:636 -showcerts
  openssl s_client -connect LDAP:636 | openssl x509 -noout -dates
openssl.txt · Last modified: 2019/06/17 17:30 by moo