3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Amazon Linux1で [Skipping bootstrap because certbot-auto is deprecated on this system.]

Last updated at Posted at 2021-03-26

certbot-autoは非推奨になりました。

$ sudo ./certbot-auto certonly --debug -n -m [MyEmail] --agree-tos --standalone -d [host.mydomain] --keep-until-expiring

Skipping bootstrap because certbot-auto is deprecated on this system.
Your system is not supported by certbot-auto anymore.
Certbot cannot be installed.
Please visit https://certbot.eff.org/ to check for other alternatives.

oh...証明書取得できない

It is only certbot-auto that we deprecated.
理由は、python2の寿命だよ.

certbotをいれる

Apache on Other Linux (snapd)
Apache on Other Linux (pip)

AmazonLinux1だとsnapdは、入らないよな
pipにしましょ

外部リポジトリからpython3を探して入れようとしていたが
Amazonのリポジトリにpython36が提供されていることがわかった。

ptthon36を入れる

$ sudo yum -y install python36 python36-pip augeas-libs

Apache on Other Linux (pip)に従って

$ sudo python3 -m venv /opt/certbot/
$ sudo /opt/certbot/bin/pip install --upgrade pip
$ sudo /opt/certbot/bin/pip install certbot certbot-apache
$ sudo ln -s /opt/certbot/bin/certbot /usr/bin/certbot

これでcertbotで証明書取得成功です。

$ sudo certbot certonly --debug -n -m [MyEmail] --agree-tos --standalone -d [host.mydomain] --keep-until-expiring
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?