手机端下拉列表
400-002-9968

博客 > 如何核实IMAP/POP3/SMTP协议的SSL加密是否有效且是否安装了正确的证书

如何核实IMAP/POP3/SMTP协议的SSL加密是否有效且是否安装了正确的证书

  • 标签:
  • plesk
  • smtp
  • imap
  • pop3
  • ssl证书

浏览量:8679次评论:0次

作者:Ray时间:2019-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

我的评论

还未登录?点击登录

微信扫码沟通
微信扫码沟通

微信扫码沟通

售前咨询
合作
售后
return head