DEV Community

TheBishoyism
TheBishoyism

Posted on

How To Install Certbot on CentOS 8

  • First, install snapd on CentOS 8
sudo dnf install epel-release
sudo dnf upgrade
sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
Enter fullscreen mode Exit fullscreen mode
  • Installing Certbot:
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
Enter fullscreen mode Exit fullscreen mode

- To run Certbot:

sudo certbot certonly --standalone
Enter fullscreen mode Exit fullscreen mode
  • Then follow the instructions to create a certificate for your domain name

Top comments (0)