<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://wiki.webko.net.ua/index.php?action=history&amp;feed=atom&amp;title=SSL_certificate_verify</id>
	<title>SSL certificate verify - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.webko.net.ua/index.php?action=history&amp;feed=atom&amp;title=SSL_certificate_verify"/>
	<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=SSL_certificate_verify&amp;action=history"/>
	<updated>2026-05-21T14:28:38Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=SSL_certificate_verify&amp;diff=653&amp;oldid=prev</id>
		<title>Sol: Новая страница: «Категория:Linux How to verify that SSL for IMAP/POP3/SMTP works and a proper SSL certificate is in use.  ==IMAP via SSL uses port 993== 1. connect to…»</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=SSL_certificate_verify&amp;diff=653&amp;oldid=prev"/>
		<updated>2020-04-28T20:20:03Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «&lt;a href=&quot;/index.php?title=%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:Linux&quot; title=&quot;Категория:Linux&quot;&gt;Категория:Linux&lt;/a&gt; How to verify that SSL for IMAP/POP3/SMTP works and a proper SSL certificate is in use.  ==IMAP via SSL uses port 993== 1. connect to…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Категория:Linux]]&lt;br /&gt;
How to verify that SSL for IMAP/POP3/SMTP works and a proper SSL certificate is in use.&lt;br /&gt;
&lt;br /&gt;
==IMAP via SSL uses port 993==&lt;br /&gt;
1. connect to a mail server using openssl&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
openssl s_client -showcerts -connect mail.example.com:993 -servername mail.example.com&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
2. Check output and make sure that a valid certificate is shown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Server certificate&lt;br /&gt;
subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=mail.example.com&lt;br /&gt;
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=PositiveSSL CA 2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3. Make sure that you received IMAP server response:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
* 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.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==POP3 via SSL uses port 995==&lt;br /&gt;
1. connect to a mail server using openssl&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
openssl s_client -showcerts -connect mail.example.com:995  -servername mail.example.com&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
2. Check output and make sure that a valid certificate is shown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Server certificate&lt;br /&gt;
subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=mail.example.com&lt;br /&gt;
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=PositiveSSL CA 2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3. Make sure that you received POP3 server response:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
+OK Hello there. &amp;lt;1793.1385684315@localhost.localdomain&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SMTP via SSL uses port 465==&lt;br /&gt;
1. connect to a mail server using openssl&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
openssl s_client -showcerts -connect mail.example.com:465  -servername mail.example.com&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
2. Check output and make sure that a valid certificate is shown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Server certificate&lt;br /&gt;
subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=mail.example.com&lt;br /&gt;
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=PositiveSSL CA 2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3. Make sure that you received SMTP server response:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
220 mail.example.com ESMTP Postfix&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SMTP via TLS/StartTLS uses port 25 or 587==&lt;br /&gt;
1.Connect to a mail server using openssl&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
openssl s_client -starttls smtp -showcerts -connect mail.example.com:25  -servername mail.example.com&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
2. Check output and make sure that a valid certificate is shown:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
Server certificate&lt;br /&gt;
subject=/OU=Domain Control Validated/OU=PositiveSSL/CN=mail.example.com&lt;br /&gt;
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=PositiveSSL CA 2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
3. Make sure that you received SMTP server response:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
250 DSN&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
</feed>