Dave's Brain

Browse - Computer Tips - How do I use certbot to get a certificate for my site?

Date: 2016dec5
OS: Linux
Distro: Fedora

Q.  How do I use certbot to get a certificate for my site?

A.  You do NOT need to install a "certbot" package as other sites say.

Installing letsencrypt will do:

dnf install letsencrypt
The I ran:
certbot --apache
as root. The TUI asked me some questions. It was unable to find the VirtualHost I wanted to add the cert to - because I had multiple VirtualHosts in a single file. So I cancelled out and made /etc/httpd/conf.d/<myserver>_ssl.conf This time I was able to successfully run the command and get a cert! I made a cron job that does:
certbot renew
And I am set.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.