Mini guide how to extract the public certificate from at SMTP server using TLS
1 |
openssl s_client -connect mail.example.com:25 -starttls smtp |
1 2 3 4 5 6 7 8 |
Download OpenSSL for windows here: https://slproweb.com/products/Win32OpenSSL.html copy Server certificate section from -----BEGIN CERTIFICATE----- to -----END CERTIFICATE----- and save to a .cer file, and open the file source: https://serverfault.com/questions/131627/how-to-inspect-remote-smtp-servers-tls-certificate |