Installing Certbot on Raspbian Buster for obtaining Let’s Encrypt’s browser-trusted certificates for your Raspberry Pi server applications

Certbot + Raspbian logo

When you build Raspberry Pi server projects with Raspbian Buster, browser-trusted certificates can be needed.

Since the inception of Let's Encrypt, many webmasters had been able to deploy web applications that encrypt communication channels with browser-trusted certificates.

Most importantly, Let's Encrypt provide all the magic for free.

Let's Encrypt certificates are automatically issued by software participating in the ACME protocol. Therefore, we will need to run such a software on a Raspberry Pi web server for serving HTTPS with browser-trusted certificates.

Given that, let's see how we can install Certbot on Raspbian Buster.

To install Certbot on Raspbian Buster, first open up a terminal program:

Raspbian Buster 20190710 taskbar with terminal program icon hovered

If you are running Raspbian Buster Lite, you will already be accessing it via a terminal program.

Once you are in a terminal program, run the following command to install Certbot:

sudo apt-get update
sudo apt-get install certbot -y

By running the above command, you will also be install the following Python packages:

  • python-pyicu
  • python3-acme
  • python3-asn1crypto
  • python3-certbot
  • python3-cffi-backend
  • python3-configargparse
  • python3-configobj
  • python3-cryptography
  • python3-distutils
  • python3-future
  • python3-josepy
  • python3-lib2to3
  • python3-mock
  • python3-openssl
  • python3-parsedatetime
  • python3-pbr
  • python3-requests-toolbelt
  • python3-rfc3339
  • python3-setuptools
  • python3-tz
  • python3-zope.component
  • python3-zope.event
  • python3-zope.hookable
  • python3-zope.interface

About Clivant

Clivant a.k.a Chai Heng enjoys composing software and building systems to serve people. He owns techcoil.com and hopes that whatever he had written and built so far had benefited people. All views expressed belongs to him and are not representative of the company that he works/worked for.