Openssl 模擬用戶端指令

筆記

#https
openssl s_client -connect [server]:443
#try SSLv2 with https which shouldn't work
openssl s_client -connect [server]:443 -ssl2
#smtp with starttls
openssl s_client -starttls smtp -connect [server]:25
#imap
openssl s_client -starttls imap -connect [server]:143