Download certbot from here.
$ wget https://github.com/certbot/certbot/archive/v0.8.0.tar.gz
$ tar -zxvf v0.8.0.tar.gz
$ cd certbot-0.8.0
$ ./certbot-auto
It give an error on AmazonAMI
Traceback (most recent call last):
File "/root/.local/share/letsencrypt/bin/letsencrypt", line 7, in <module>
from certbot.main import main
File "/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot/main.py", line 11, in <module>
import zope.component
File "/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/zope/component/__init__.py", line 16, in <module>
from zope.interface import Interface
ImportError: No module named interface
To resolve this use
$ unset PYTHON_INSTALL_LAYOUT
No comments:
Post a Comment