<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>2021/03/06 on Yano&#39;s digital garage</title>
    <link>https://www.bravotouring.com/~yano/archives/2021/03/06/</link>
    <description>Recent content in 2021/03/06 on Yano&#39;s digital garage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 06 Mar 2021 11:48:17 +0900</lastBuildDate>
    <atom:link href="https://www.bravotouring.com/~yano/archives/2021/03/06/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Let&#39;s Encrypt更新</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20210306_encrypt.htm</link>
      <pubDate>Sat, 06 Mar 2021 11:48:17 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20210306_encrypt.htm</guid>
      <description>&lt;p&gt;先週日曜、Webサーバーから&lt;blockquote class=&#34;Log&#34;&gt;E: Package &#39;python-virtualenv&#39; has no installation candidate&lt;/blockquote&gt;という&lt;span class=&#34;Warning&#34;&gt;エラーメール&lt;/span&gt;着弾。どうやら&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20210124_ubuntu20.htm&#34;&gt;Ubuntu 20.04 (Focal Fossa)&lt;/a&gt;にアップデートした余波で&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20160311_encrypt.htm&#34;&gt;Let&#39;s Encryptの自動更新&lt;/a&gt;がエラーになったようだ。&lt;/p&gt;&#xA;&lt;table align=&#34;right&#34; class=&#34;Panorama&#34;&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;&lt;img alt=&#34;Let&#39;s Encrypt&#34; src=&#34;https://www.bravotouring.com/~yano/images/2021/20210306_letsencrypt.png&#34;/&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td class=&#34;PhotoMemo&#34;&gt;Let&#39;s Encrypt&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://qiita.com/tukiyo3/items/ab0b93b65c3c52231c68&#34;&gt;Ubuntu 20.04 上の certbot-auto でエラーが出る場合&lt;/a&gt;に倣ってpythonをpython3に書き換えてみたがダメ。手動でpython3-virtualenvをinstallしてみたものの、結局python2.7を見に行って&lt;span class=&#34;Warning&#34;&gt;pipが古い&lt;/span&gt;と怒られる始末。&lt;/p&gt;&#xA;&lt;p&gt;そもそも古いのは&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20160311_encrypt.htm&#34;&gt;5年前&lt;/a&gt;に導入した自動更新スクリプトなんじゃね？と思い、git pullしなおしてみたものの、今度は&lt;blockquote class=&#34;Log&#34;&gt;Skipping bootstrap because certbot-auto is deprecated on this system.&lt;br/&gt;/opt/letsencrypt/letsencrypt-auto has insecure permissions!&lt;br/&gt;To learn how to fix them, visit https://community.letsencrypt.org/t/certbot-auto-deployment-best-practices/91979/&lt;br/&gt;&lt;span class=&#34;Warning&#34;&gt;Your system is not supported&lt;/span&gt; by certbot-auto anymore.&lt;br/&gt;Certbot cannot be installed.&lt;br/&gt;Please visit https://certbot.eff.org/ to check for other alternatives.&lt;/blockquote&gt;という結果に。&lt;/p&gt;&#xA;&lt;p&gt;最新LTSのUbuntu 20が&lt;span class=&#34;Warning&#34;&gt;not supported&lt;/span&gt;てどういう事！？と思ったのだが、&lt;a href=&#34;https://qiita.com/isase/items/5c00a347d9e0b858c1c2&#34;&gt;2021年版Let&#39;s EncryptでのSSL証明書の発行方法/SSL化の方法&lt;/a&gt;によると&lt;blockquote cite=&#34;https://qiita.com/isase/items/5c00a347d9e0b858c1c2&#34;&gt;これまでcertbot-autoで証明書の発行ができたと思いますが、2020年12月のリリース1.10.0からDebian系で非対応になり、2021年1月のリリース1.11.0では全てのOSで非対応となりました。&lt;/blockquote&gt;という事で驚いたのだが、&lt;a href=&#34;https://community.letsencrypt.org/t/certbot-auto-no-longer-works-on-debian-based-systems/139702/7&#34;&gt;Certbot-auto no longer works on Debian based systems&lt;/a&gt;によると&lt;blockquote&gt;The biggest factor that drove this deprecation now was Python 2 reaching its end-of-life this year. When this script was initially written 5 years ago, it was written to use Python 2 on most systems. While Python 2 is still receiving security support by various distros, the Python ecosystem has moved on and many of our dependencies are dropping support for Python 2. In order to continue to provide updates to our users, we have to get them on Python 3. We tried to migrate certbot-auto users to Python 3 in the past, but it&#39;s a ton of work and extremely error prone. Instead of trying to do this work and hope we didn&#39;t break anything (like we did last time 3), we decided to sunset the script in favor of other distribution methods.&lt;/blockquote&gt;という経緯があって、つまるところがPython3への移行を諦めてsnap版として再構築したという事らしい。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
