MoinQ:

1. get certbot

https://eff-certbot.readthedocs.io/en/stable/install.html

SSH into the server

SSH into the server running your HTTP website as a user with sudo privileges.

Install snapd

You'll need to install snapd and make sure you follow any instructions to enable classic snap support.

Follow these instructions on snapcraft's site to install snapd.

Installing snapd https://snapcraft.io/docs/installing-snapd

Installing snap on Ubuntu

Snap is pre-installed and ready to go on all recent releases of Ubuntu.

sakura VPS

$ snap
Command 'snap' not found, but can be installed with:
sudo apt install snapd

1.1. Remove old

4. Remove certbot-auto and any Certbot OS packages
sudo apt-get remove certbot

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python3-acme python3-certbot python3-certifi python3-configargparse
  python3-icu python3-josepy python3-parsedatetime python3-requests
  python3-requests-toolbelt python3-rfc3339 python3-tz python3-urllib3
  python3-zope.component python3-zope.event python3-zope.hookable
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  certbot
0 upgraded, 0 newly installed, 1 to remove and 65 not upgraded.
After this operation, 63.5 kB disk space will be freed.
Do you want to continue? [Y/n] 

Install Certbot

sudo snap install --classic certbot

sudo ln -s /snap/bin/certbot /usr/bin/certbot


CategoryDns CategoryWatch CategoryTemplate

MoinQ: Letsencrypt/certbot/get_certbot (last edited 2023-02-17 09:26:56 by ToshinoriMaeno)