Update for certbot. master
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 5 Jan 2019 10:19:47 +0000 (11:19 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 5 Jan 2019 10:19:47 +0000 (11:19 +0100)
README
setup.py

diff --git a/README b/README
index 007cbe8..c2fb085 100644 (file)
--- a/README
+++ b/README
@@ -11,19 +11,19 @@ it up. Please back up your VCL configuratoin before use.
 
 To use:
 
 
 To use:
 
- 1. Install letsencrypt as usual, with letsencrypt-auto.
+ 1. Install certbot as usual.
 
 
- 2. Activate the venv:
+ 2. Activate the venv, if installed in a venv:
 
 
-    . ~/.local/share/letsencrypt/bin/activate
+    . ~/.local/share/certbot/bin/activate
 
  3. Install the module:
 
 
  3. Install the module:
 
-    pip install -e path/to/this/letsencrypt-varnish
+    pip3 install -e path/to/this/certbot-hitch
 
  4. Ask for a certificate:
 
 
  4. Ask for a certificate:
 
-    sudo ~/.local/share/letsencrypt/bin/letsencrypt --agree-dev-preview --server https://acme-v01.api.letsencrypt.org/directory -a letsencrypt-varnish-plugin:varnish -d <domain> certonly  
+    sudo certbot -a certbot-varnish:varnish -d <domain> certonly
 
 
 Varnish itself does not support SSL, so the module is just for authentication,
 
 
 Varnish itself does not support SSL, so the module is just for authentication,
index afe53f3..deac39b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -2,14 +2,14 @@ from setuptools import setup
 
 
 setup(
 
 
 setup(
-    name='letsencrypt-varnish-plugin',
+    name='certbot-varnish',
     package='varnish.py',
     install_requires=[
     package='varnish.py',
     install_requires=[
-        'letsencrypt',
+        'certbot>=0.26.0',
         'zope.interface',
     ],
     entry_points={
         'zope.interface',
     ],
     entry_points={
-        'letsencrypt.plugins': [
+        'certbot.plugins': [
             'varnish = varnish:Authenticator',
         ],
     },
             'varnish = varnish:Authenticator',
         ],
     },