Browse Source

system/letsencrypt: Updated for version 3.0.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/256/head
Willy Sudiarto Raharjo 1 year ago
parent
commit
28031a8f89
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 2
      system/letsencrypt/README
  2. 6
      system/letsencrypt/README.Slackware
  3. 8
      system/letsencrypt/letsencrypt.SlackBuild
  4. 6
      system/letsencrypt/letsencrypt.info

2
system/letsencrypt/README

@ -8,5 +8,3 @@ See README.Slackware for more detailed instructions.
Note: the certificate client tool is now certbot, but a symlink is Note: the certificate client tool is now certbot, but a symlink is
provided to be backward compatible with previous letsencrypt version. provided to be backward compatible with previous letsencrypt version.
Please rename the script to the new name: certbot Please rename the script to the new name: certbot
Since 1.1.0, most of deps must be (re)built against Python3.

6
system/letsencrypt/README.Slackware

@ -11,16 +11,16 @@ Just run letsencrypt or certbot and you will see all domains are available.
VALIDATION METHODS VALIDATION METHODS
Letsencrypt have several validation method, but the preferred solution for now is HTTP-01 and DNS-01. Letsencrypt have several validation method, but the preferred solution for now is HTTP-01 and DNS-01.
TLS-SNI-01 will be deprecated per February 13, 2019
TLS-SNI-01 will be deprecated per February 13, 2019
(https://community.letsencrypt.org/t/february-13-2019-end-of-life-for-all-tls-sni-01-validation-support/74209) (https://community.letsencrypt.org/t/february-13-2019-end-of-life-for-all-tls-sni-01-validation-support/74209)
RENEWAL PROCESS RENEWAL PROCESS
Best way to automate the certificate renewal is by using cron service. Best way to automate the certificate renewal is by using cron service.
Create a bash script in /etc/cron.monthly that does the following actions:
Create a bash script in /etc/cron.monthly or /etc/cron.weekly that does the following actions:
letsencrypt renew (it will automatically renew when the expired date is less than few weeks). letsencrypt renew (it will automatically renew when the expired date is less than few weeks).
RATE LIMIT RATE LIMIT
Rate limit on registrations per IP is now 500 per 3 hours.
Rate limit on registrations per IP is now 10 per 3 hours or 500 per 3 hours for IPv6
Rate limit on certificates per Domain is now 50 per 7 days. Rate limit on certificates per Domain is now 50 per 7 days.
See complete documentation here: https://letsencrypt.org/docs/rate-limits/ See complete documentation here: https://letsencrypt.org/docs/rate-limits/

8
system/letsencrypt/letsencrypt.SlackBuild

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=letsencrypt PRGNAM=letsencrypt
SRCNAM=certbot SRCNAM=certbot
VERSION=${VERSION:-2.11.0}
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -96,11 +96,11 @@ python3 setup.py install --root=$PKG
# install apache plugin # install apache plugin
cd ../certbot-apache cd ../certbot-apache
python3 setup.py install --root=$PKG python3 setup.py install --root=$PKG
cd ..
# install nginx plugin # install nginx plugin
#cd ../certbot-nginx
#python3 setup.py install --root=$PKG
cd ../certbot-nginx
python3 setup.py install --root=$PKG
cd ..
# We include default options for Apache # We include default options for Apache
mkdir -p $PKG/etc/letsencrypt/ mkdir -p $PKG/etc/letsencrypt/

6
system/letsencrypt/letsencrypt.info

@ -1,8 +1,8 @@
PRGNAM="letsencrypt" PRGNAM="letsencrypt"
VERSION="2.11.0"
VERSION="3.0.0"
HOMEPAGE="https://letsencrypt.org/" HOMEPAGE="https://letsencrypt.org/"
DOWNLOAD="https://github.com/certbot/certbot/archive/v2.11.0/certbot-2.11.0.tar.gz"
MD5SUM="3d0ad5e1474062397bd6b9cb223e4828"
DOWNLOAD="https://github.com/certbot/certbot/archive/v3.0.0/certbot-3.0.0.tar.gz"
MD5SUM="6c118a7c2ee2e1c5ff68cf8837613134"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="python3-configobj python3-pytz python3-pythondialog zope.component pyrfc3339 python3-psutil python-parsedatetime python3-configargparse werkzeug ndg_httpsclient python3-augeas josepy funcsigs requests-toolbelt python-importlib_metadata" REQUIRES="python3-configobj python3-pytz python3-pythondialog zope.component pyrfc3339 python3-psutil python-parsedatetime python3-configargparse werkzeug ndg_httpsclient python3-augeas josepy funcsigs requests-toolbelt python-importlib_metadata"

Loading…
Cancel
Save