dlapiduz / certbot-s3front

Certbot CLI plugin for S3/CloudFront validation and installation
MIT License
584 stars 70 forks source link

Issue installing with certbot 0.23.0 #69

Closed adrian-dinu closed 6 years ago

adrian-dinu commented 6 years ago

Hello,

I have used certbot-s3front with success in the past but I can't get it to work with 0.23.0

I have tried to uninstall and reinstall , I get this:

# pip install certbot-s3front
Requirement already satisfied: certbot-s3front in /usr/local/lib/python2.7/dist-packages (0.3.1)
Requirement already satisfied: boto3 in /usr/local/lib/python2.7/dist-packages (from certbot-s3front) (1.4.7)
Requirement already satisfied: mock in /usr/local/lib/python2.7/dist-packages (from certbot-s3front) (2.0.0)
Requirement already satisfied: acme>=0.1.1 in /usr/local/lib/python2.7/dist-packages (from certbot-s3front) (0.18.1)
Requirement already satisfied: zope.interface in /usr/local/lib/python2.7/dist-packages (from certbot-s3front) (4.4.2)
Requirement already satisfied: PyOpenSSL in /usr/local/lib/python2.7/dist-packages (from certbot-s3front) (17.3.0)
Requirement already satisfied: certbot>=0.9.3 in /usr/local/lib/python2.7/dist-packages (from certbot-s3front) (0.18.1)
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from certbot-s3front) (36.5.0)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /usr/local/lib/python2.7/dist-packages (from boto3->certbot-s3front) (0.9.3)
Requirement already satisfied: botocore<1.8.0,>=1.7.0 in /usr/local/lib/python2.7/dist-packages (from boto3->certbot-s3front) (1.7.11)
Requirement already satisfied: s3transfer<0.2.0,>=0.1.10 in /usr/local/lib/python2.7/dist-packages (from boto3->certbot-s3front) (0.1.11)
Requirement already satisfied: funcsigs>=1; python_version < "3.3" in /usr/local/lib/python2.7/dist-packages (from mock->certbot-s3front) (1.0.2)
Requirement already satisfied: six>=1.9 in /usr/local/lib/python2.7/dist-packages (from mock->certbot-s3front) (1.10.0)
Requirement already satisfied: pbr>=0.11 in /usr/local/lib/python2.7/dist-packages (from mock->certbot-s3front) (3.1.1)
Requirement already satisfied: pytz in /usr/local/lib/python2.7/dist-packages (from acme>=0.1.1->certbot-s3front) (2017.2)
Requirement already satisfied: pyrfc3339 in /usr/local/lib/python2.7/dist-packages (from acme>=0.1.1->certbot-s3front) (1.0)
Requirement already satisfied: cryptography>=0.8 in /usr/local/lib/python2.7/dist-packages (from acme>=0.1.1->certbot-s3front) (2.0.3)
Requirement already satisfied: requests[security]>=2.4.1 in /usr/local/lib/python2.7/dist-packages (from acme>=0.1.1->certbot-s3front) (2.18.4)
Requirement already satisfied: zope.component in /usr/local/lib/python2.7/dist-packages (from certbot>=0.9.3->certbot-s3front) (4.4.0)
Requirement already satisfied: parsedatetime>=1.3 in /usr/local/lib/python2.7/dist-packages (from certbot>=0.9.3->certbot-s3front) (2.4)
Requirement already satisfied: configobj in /usr/lib/python2.7/dist-packages (from certbot>=0.9.3->certbot-s3front) (5.0.6)
Requirement already satisfied: ConfigArgParse>=0.9.3 in /usr/local/lib/python2.7/dist-packages (from certbot>=0.9.3->certbot-s3front) (0.12.0)
Requirement already satisfied: docutils>=0.10 in /usr/local/lib/python2.7/dist-packages (from botocore<1.8.0,>=1.7.0->boto3->certbot-s3front) (0.14)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /usr/local/lib/python2.7/dist-packages (from botocore<1.8.0,>=1.7.0->boto3->certbot-s3front) (2.6.1)
Requirement already satisfied: futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from s3transfer<0.2.0,>=0.1.10->boto3->certbot-s3front) (3.1.1)
Requirement already satisfied: idna>=2.1 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.8->acme>=0.1.1->certbot-s3front) (2.6)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.8->acme>=0.1.1->certbot-s3front) (0.22.0)
Requirement already satisfied: enum34 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.8->acme>=0.1.1->certbot-s3front) (1.1.6)
Requirement already satisfied: ipaddress in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.8->acme>=0.1.1->certbot-s3front) (1.0.18)
Requirement already satisfied: cffi>=1.7 in /usr/local/lib/python2.7/dist-packages (from cryptography>=0.8->acme>=0.1.1->certbot-s3front) (1.10.0)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests[security]>=2.4.1->acme>=0.1.1->certbot-s3front) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests[security]>=2.4.1->acme>=0.1.1->certbot-s3front) (2017.7.27.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests[security]>=2.4.1->acme>=0.1.1->certbot-s3front) (3.0.4)
Requirement already satisfied: zope.event in /usr/local/lib/python2.7/dist-packages (from zope.component->certbot>=0.9.3->certbot-s3front) (4.3.0)
Requirement already satisfied: future in /usr/local/lib/python2.7/dist-packages (from parsedatetime>=1.3->certbot>=0.9.3->certbot-s3front) (0.16.0)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.7->cryptography>=0.8->acme>=0.1.1->certbot-s3front) (2.18)

But can't get it to show up in certbot plugins:

# certbot plugins
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
* apache
Description: Apache Web Server plugin - Beta
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT

* nginx
Description: Nginx Web Server plugin - Alpha
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: nginx = certbot_nginx.configurator:NginxConfigurator

* standalone
Description: Spin up a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = certbot.plugins.standalone:Authenticator

* webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot.plugins.webroot:Authenticator
-------------------------------------------------------------------------------

I checked and certbot is using python 2.7. Not sure how to get certbot to see the s3front install.

adrian-dinu commented 6 years ago

Managed to fix this by:

pip uninstall certbot-s3front
pip uninstall certbot
pip install certbot
pip install certbot-s3front