博客 > 如何核实IMAP/POP3/SMTP协议的SSL加密是否有效且是否安装了正确的证书
浏览量:9431次评论:0次
作者:Ray时间:2018-09-06 06:07:32
适用版本:
Plesk Onyx for Linux
Plesk 12.5 for Linux
Plesk 12.0 for Linux
Plesk 11.x for Linux
如何核实IMAP/POP3/SMTP协议的SSL加密是否有效且是否安装了正确的证书?
具体步骤如下:
首先,使用SSH连接服务器。
再者,要核实SSL证书,请使用下面的命令:
1. 通过SSL加密的IMAP协议会默认使用 993端口:
a. 使用openssl连接邮件服务器::
# openssl s_client -showcerts -connect mail.example.com:993
b. 检查输出确保显示的是有效的证书:
Server certificate
subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=mail.example.com
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=PositiveSSL CA 2
c. 务必确保收到IMAP服务器的响应:
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=PLAIN IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
2. 通过SSL加密的POP3协议会默认使用995端口:
a. 使用openssl连接邮件服务器::
# openssl s_client -showcerts -connect mail.example.com:995
b. 检查输出确保显示的是有效的证书:
Server certificate
subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=mail.example.com
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=PositiveSSL CA 2
c. 务必确保收到POP3服务器的响应:
+OK Hello there. <[email protected]>
3. 通过SSL加密的SMTP协议会默认使465端口:
a. 使用openssl连接邮件服务器:
# openssl s_client -showcerts -connect mail.example.com:465
b. 检查输出确保显示的是有效的证书:
Server certificate
subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=mail.example.com
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=PositiveSSL CA 2
c. 务必确保接收到SMTP服务器的响应:
220 mail.example.com ESMTP Postfix
开元旗牌相关的文章推荐
2023-09-25 14:05:59
2023-08-29 13:54:24
2023-08-28 13:43:45
2023-08-27 11:59:47
2023-08-21 17:21:43
热门工具
标签选择
阅读排行
微信扫码沟通
我的评论
还未登录?