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:
- pip install -e path/to/this/letsencrypt-varnish
+ pip3 install -e path/to/this/certbot-hitch
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,
setup(
- name='letsencrypt-varnish-plugin',
+ name='certbot-varnish',
package='varnish.py',
install_requires=[
- 'letsencrypt',
+ 'certbot>=0.26.0',
'zope.interface',
],
entry_points={
- 'letsencrypt.plugins': [
+ 'certbot.plugins': [
'varnish = varnish:Authenticator',
],
},