18 Setting Up Letsencrypt On Freebsd Younis Said Haniwriter
18 Setting Up Letsencrypt On Freebsd Younis Said Haniwriter
18 Setting Up Letsencrypt On Freebsd Younis Said Haniwriter
Excerpt: Let's Encrypt is a Certificate Authority (CA) that alleviates the process of TLS/SSL
certification. The TLS/SSL certification, in turn, serves as an indispensable element of HTTPS
authentication on an online server. In this article, how to set up let's Encrypt on FreeBSD is
explained.
Permalink: Setup-let's-encrypt-FreeBSD
Category: FreeBSD
This tutorial is about installing Let's Encrypt, a Certificate Authority (CA) that alleviates the
process of TLS/SSL certification. The TLS/SSL certification, in turn, serves as an indispensable
element of HTTPS authentication on an online server. Let's Encrypt comes with a software client
named Certbot that employs automation techniques to strips the certification process of any
intricate technicalities for the user's convenience.
In this article, we'll explain how to set up let's Encrypt on FreeBSD and list some of the
fundamentals to help you start with it.
Register Certbot
Before we begin creating certificates, we'll need a /usr/local/etc/letsencrypt/letsencrypt.ini file
for our user account. Type out the contents below in your file:
# rsa-key-size = 4096
# server = https://acme-v02.api.letsencrypt.org/directory
# email = [email protected]
# text = True
# agree-tos = True
# renew-by-default = True
# authenticator = standalone
However, using the standalone server means putting your web server on hold for a few
seconds. If you cannot afford to shut down the hosting service, you can create certificates with
webroot.
To create a certificate with webroot, type out the following command in the shell:
$ certbot renew
Erasing certificates
Deleting certificates with certbot is very easy, as long as you know the exact name of the
certificate you want to be deleted. To list all the authenticated certificate
$ certbot certificates
The screenshot below shows the likely output you'll get out of this command:
Wrapping up
Ok, folks, this tutorial was about setting up Let's Encrypt on a FreeBSD system and using the
Certbot supervisor to automatically create, authenticate and remove TLS/SSL certificates.
Certbot can be vital for users who frequently have to update certificates themselves, manually,
which can be a tedious process.