diff --git a/README.md b/README.md index 4d9fd66..d3f31d7 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,15 @@ Some scripts to create and renew all your certificates, and concatenate fullchai More information [here](http://blog.victor-hery.com/index.php?article23/use-haproxy-with-let-s-encrypt) ([French version](http://blog.victor-hery.com/index.php?article22/utiliser-let-s-encrypt-avec-haproxy) +## Prerequisites + +You need to install certbot according to your distribution : + +For debian : +``` +apt-get install certbot +``` + ## How to create certificate Create a certificate with let's encrypt, then concatenate fullchain.pem and privkey.pem, then store the certificate in haproxy given path. diff --git a/create-certificat b/create-certificat index a08818a..73b3f2c 100755 --- a/create-certificat +++ b/create-certificat @@ -1,7 +1,7 @@ #!/bin/bash #Configuration variables -certbot_bin="/root/letsencrypt/certbot-auto" +certbot_bin="/usr/local/bin/certbot" haproxy_pem_path="/etc/haproxy/cert" diff --git a/renew-certificates b/renew-certificates index 9f9975a..5e8b707 100755 --- a/renew-certificates +++ b/renew-certificates @@ -1,7 +1,7 @@ #!/bin/bash #Configuration variables -certbot_bin="/root/letsencrypt/certbot-auto" +certbot_bin="/usr/local/bin/certbot" haproxy_pem_path="/etc/haproxy/cert" #Renew all certificates that needed it