본문 바로가기

Security

SSL 통신 테스트 방법

SSL 통신을 하는 프로토콜을 테스트 하고 싶다면 openssl 의 s_client 옵션을 이용하면 된다.


openssl s_client -connect pop.mail.com:995 -quiet


예)

C:\OpenSSL-Win32\bin>openssl s_client -connect pop.mail.com:995 -quiet

WARNING: can't open config file: /usr/local/ssl/openssl.cnf

Loading 'screen' into random state - done

depth=2 C = KR, O = KISA, OU = Korea Certification Authority Central, CN = KISA

RootCA 1

verify error:num=19:self signed certificate in certificate chain

verify return:0

+OK (Bee-Hive MTA 3.0.0 RC) POP3 server ready

user bogadan

+OK Input password

pass password