<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Encryption – Yeri Tiete</title>
    <link>https://yeri.be/tag/encryption/</link>
    <description>Yeri Tiete&#39;s blog</description>
    <language>en</language>
    <copyright>© Yeri Tiete</copyright>
    <lastBuildDate>Tue, 29 Mar 2022 03:43:00 +0200</lastBuildDate>
    <atom:link href="https://yeri.be/tag/encryption/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Unencrypted Russian communication</title>
      <link>https://yeri.be/unencrypted-russian-communication/</link>
      <pubDate>Tue, 29 Mar 2022 03:43:00 +0200</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/unencrypted-russian-communication/</guid><enclosure url="https://static.yeri.be/2022/03/listeners.jpg" length="0" type="image/jpeg" />
      <description>&lt;iframe title=&#34;New York Times Video - Embed Player&#34; scrolling=&#34;no&#34; allowfullscreen=&#34;true&#34; marginheight=&#34;0&#34; marginwidth=&#34;0&#34; id=&#34;nyt_video_player&#34; src=&#34;https://www.nytimes.com/video/players/offsite/index.html?videoId=100000008266864&#34; width=&#34;700&#34; height=&#34;500&#34; frameborder=&#34;0&#34;&gt;&lt;/iframe&gt;&#xA;&lt;p&gt;Via &lt;a href=&#34;https://nyti.ms/3IN2Yl3&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;NY Times&lt;/a&gt;.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p><img src="https://static.yeri.be/2022/03/listeners.jpg" alt="Unencrypted Russian communication"></p><iframe title="New York Times Video - Embed Player" scrolling="no" allowfullscreen="true" marginheight="0" marginwidth="0" id="nyt_video_player" src="https://www.nytimes.com/video/players/offsite/index.html?videoId=100000008266864" width="700" height="500" frameborder="0"></iframe>
<p>Via <a href="https://nyti.ms/3IN2Yl3" target="_blank" rel="noopener">NY Times</a>.</p>
]]></content:encoded>
      <category>misc</category>
      <category>wtf</category><category>encryption</category><category>europe</category><category>new york</category><category>politics</category>
    </item>
    
    <item>
      <title>Encryption</title>
      <link>https://yeri.be/encryption/</link>
      <pubDate>Thu, 03 Feb 2022 16:39:00 +0100</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/encryption/</guid>
      <description>&lt;div class=&#34;embed-responsive embed-youtube&#34;&gt;&#xA;&#x9;&lt;iframe src=&#34;https://www.youtube-nocookie.com/embed/ZghMPWGXexs&#34; title=&#34;YouTube video&#34; loading=&#34;lazy&#34; allow=&#34;accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture&#34; allowfullscreen&gt;&lt;/iframe&gt;&#xA;&lt;/div&gt;</description>
      <content:encoded><![CDATA[<div class="embed-responsive embed-youtube">
	<iframe src="https://www.youtube-nocookie.com/embed/ZghMPWGXexs" title="YouTube video" loading="lazy" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>

]]></content:encoded>
      <category>networking</category><category>software</category>
      <category>encryption</category><category>youtube</category>
    </item>
    
    <item>
      <title>Postfix &amp; Courier &amp; Letsencrypt</title>
      <link>https://yeri.be/postfix-courier-letsencrypt/</link>
      <pubDate>Sun, 12 Jun 2016 13:35:10 +0200</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/postfix-courier-letsencrypt/</guid>
      <description>&lt;p&gt;First of all, &lt;a href=&#34;https://letsencrypt.org/getting-started/&#34; target=&#34;_blank&#34;&gt;create&lt;/a&gt; your certificates (the regular way). I created one with multiple domains: webmail.rootspirit.com, mail.rootspirit.com, smtp.rootspirit.com.&lt;/p&gt;&#xA;&lt;p&gt;In &lt;a href=&#34;http://rootspirit.com/&#34; target=&#34;_blank&#34;&gt;my case&lt;/a&gt;, as the mailserver and webserver are behind a proxy (postfix, imap, Roundcube Webmail), I create the certificate on the proxy (nginx) and scp the cert to the mail server. All this is automated with a tiny script.&lt;/p&gt;&#xA;&lt;p&gt;For Postfix, edit &lt;code&gt;main.cf&lt;/code&gt; and change/edit/add these lines (check the right path too!):&lt;/p&gt;&#xA;&lt;pre&gt;smtpd_use_tls = yes&#xA;smtpd_tls_key_file = /etc/ssl/letsencrypt/webmail.privkey.pem&#xA;smtpd_tls_cert_file = /etc/ssl/letsencrypt/webmail.fullchain.pem&#xA;smtpd_tls_received_header = yes&#xA;smtpd_tls_session_cache_timeout = 3600s&#xA;tls_random_exchange_name = /var/run/prng_exch&#xA;tls_random_source = dev:/dev/urandom&#xA;smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDB3-SHA, KRB5-DES, CBC3-SHA&#xA;smtpd_tls_dh1024_param_file = /etc/ssl/postfix/dhparams.pem&#xA;smtpd_tls_auth_only = yes&#xA;smtp_tls_security_level = may&#xA;smtpd_use_tls=yes&#xA;smtpd_tls_security_level=may&#xA;smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache&#xA;smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache&#xA;smtpd_tls_loglevel=1&#xA;smtp_tls_loglevel=1&lt;/pre&gt;&#xA;&lt;p&gt;And restart postfix: &lt;code&gt;/etc/init.d/postfix restart&lt;/code&gt;&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>First of all, <a href="https://letsencrypt.org/getting-started/" target="_blank">create</a> your certificates (the regular way). I created one with multiple domains: webmail.rootspirit.com, mail.rootspirit.com, smtp.rootspirit.com.</p>
<p>In <a href="http://rootspirit.com/" target="_blank">my case</a>, as the mailserver and webserver are behind a proxy (postfix, imap, Roundcube Webmail), I create the certificate on the proxy (nginx) and scp the cert to the mail server. All this is automated with a tiny script.</p>
<p>For Postfix, edit <code>main.cf</code> and change/edit/add these lines (check the right path too!):</p>
<pre>smtpd_use_tls = yes
smtpd_tls_key_file = /etc/ssl/letsencrypt/webmail.privkey.pem
smtpd_tls_cert_file = /etc/ssl/letsencrypt/webmail.fullchain.pem
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_exchange_name = /var/run/prng_exch
tls_random_source = dev:/dev/urandom
smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDB3-SHA, KRB5-DES, CBC3-SHA
smtpd_tls_dh1024_param_file = /etc/ssl/postfix/dhparams.pem
smtpd_tls_auth_only = yes
smtp_tls_security_level = may
smtpd_use_tls=yes
smtpd_tls_security_level=may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_tls_loglevel=1
smtp_tls_loglevel=1</pre>
<p>And restart postfix: <code>/etc/init.d/postfix restart</code></p>
<p>As for Courier you&rsquo;ll need to concatenate the files (again, check the path, it&rsquo;s most likely <code>/etc/letsencrypt/live/domain/xyz.pem</code>):</p>
<p><code>cat /etc/ssl/letsencrypt/webmail.privkey.pem /etc/ssl/letsencrypt/webmail.fullchain.pem &gt; /etc/ssl/letsencrypt/webmail.all.pem</code></p>
<p>Then edit both <code>/etc/courier/pop3d-ssl</code> and <code>/etc/courier/imapd-ssl</code></p>
<p>And add/change the path of the certificate:</p>
<p><code>TLS_CERTFILE=/etc/ssl/letsencrypt/webmail.all.pem</code></p>
<p>And restart Courier: <code>/etc/init.d/courier-imap-ssl restart &amp;&amp; /etc/init.d/courier-pop-ssl restart</code></p>
]]></content:encoded>
      <category>linux</category><category>networking</category><category>software</category><category>www</category>
      <category>encryption</category><category>mail</category><category>rootspirit</category><category>ssl</category>
    </item>
    
    <item>
      <title>Diffie-Hellman Key Exchange</title>
      <link>https://yeri.be/diffie-hellman-key-exchange/</link>
      <pubDate>Mon, 01 Apr 2013 21:13:43 +0200</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/diffie-hellman-key-exchange/</guid>
      <description>&lt;p&gt;Explained this way, it&amp;rsquo;s quite simple. ;)&lt;/p&gt;&#xA;&lt;p style=&#34;text-align: center;&#34;&gt;&lt;iframe width=&#34;480&#34; height=&#34;360&#34; src=&#34;https://www.youtube.com/embed/YEBfamv-_do?rel=0&#34; frameborder=&#34;0&#34; allowfullscreen&gt;&lt;/iframe&gt;&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Explained this way, it&rsquo;s quite simple. ;)</p>
<p style="text-align: center;"><iframe width="480" height="360" src="https://www.youtube.com/embed/YEBfamv-_do?rel=0" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
      <category>software</category>
      <category>encryption</category><category>youtube</category>
    </item>
    
  </channel>
</rss>
