HTTPS: Difference between revisions

From James's Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
maybe this works
The Certbot from the repos is old...there was some security issue that forced them to shut down something that the old version uses to create security certificates so it doesn't work anymore.
the following instructions works around all that
 
sudo apt install letsencrypt
 
  apt-get -t stretch-backports install certbot
  apt-get -t stretch-backports install certbot


The Certbot from the repos is old...there was some security issue that froced them to shut down something that the old version uses to create security certificates so it doen't work anymore.
sudo apt install python3-certbot-apache
the following instructions works around all that.
 


How to install and run the latest version of Certbot:
the following is to get the certbot-auto script and get it running


  wget https://dl.eff.org/certbot-auto
  wget https://dl.eff.org/certbot-auto
Line 13: Line 17:
  ./certbot-auto
  ./certbot-auto


Note: if you get an error run it again.
NOTE: not sure if certbot-auto is working..
verified working on 4/29/18
 
to add sites manually:
 
sudo certbot --apache -d example.org -d www.example.org
 
to test renew:
sudo certbot renew --dry-run
 
 
===certbot renew errors===
if you get a bunch of " failed authorization procedure" erros on renew it might be because in the site-name-le-ssl.conf file there are 2 virtual hosts defined. get rid of the <VirtualHost *:80> section

Latest revision as of 16:25, 6 February 2019

The Certbot from the repos is old...there was some security issue that forced them to shut down something that the old version uses to create security certificates so it doesn't work anymore. the following instructions works around all that

sudo apt install letsencrypt
apt-get -t stretch-backports install certbot
sudo apt install python3-certbot-apache


the following is to get the certbot-auto script and get it running

wget https://dl.eff.org/certbot-auto
chmod a+x ./certbot-auto
./certbot-auto

NOTE: not sure if certbot-auto is working..

to add sites manually:

sudo certbot --apache -d example.org -d www.example.org

to test renew:

sudo certbot renew --dry-run


certbot renew errors

if you get a bunch of " failed authorization procedure" erros on renew it might be because in the site-name-le-ssl.conf file there are 2 virtual hosts defined. get rid of the <VirtualHost *:80> section