Git Product home page Git Product logo

Comments (5)

runfalk avatar runfalk commented on September 26, 2024

Looks like you have problems with a sub-dependency. This is probably due to an ancient version of setuptools.

Try this:

sudo pip install setuptools pip
sudo pip install certbot-glesys

from certbot-dns-glesys.

montaniasystemab avatar montaniasystemab commented on September 26, 2024

Thank you for responding so quickly!

I was able to get it installed now by upgrading pip and setuptools and installing libxml2-dev and libxslt-dev

However it doesn't seem like certbot is recognizing the plugin:

# /opt/certbot/certbot-auto certonly --manual --preferred-challenges=dns --certbot-glesys:auth-credentials /etc/letsencrypt/glesys.ini -d subdomain.domain.tld
usage:
  certbot-auto [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...

Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: --certbot-glesys:auth-credentials /etc/letsencrypt/glesys.ini

This is the full output of the installation
https://gist.github.com/montaniasystemab/0cc3f5f85b96c86437027958932e3406

from certbot-dns-glesys.

runfalk avatar runfalk commented on September 26, 2024

Your command must specify that you want to make use of the certbot-glesys authenticator:

/opt/certbot/certbot-auto certonly --text --authenticator certbot-glesys:auth --certbot-glesys:auth-credentials /etc/letsencrypt/glesys.ini --certbot-glesys:auth-propagation-seconds 90 -d subdomain.domain.tld

I've found to have greater success rate when using --certbot-glesys:auth-propagation-seconds 90.

If this doesn't work you probably want to install certbot using pip as well. There might be an issue where the certbot in /opt doesn't read from the same directory as pip installs to.

sudo pip install certbot

from certbot-dns-glesys.

montaniasystemab avatar montaniasystemab commented on September 26, 2024

Correct, the installation in /opt did not pick up the plugin and my certbot installation using pip seemed thoroughly broken.

After these steps I was able to get certbot running:

# pip install --upgrade pip enum34
# pip install setuptools==5.1
# easy_install -U cffi
# pip install py2-ipaddress

After resolving these issues I got this error message from certbot:

InvalidSchema: No connection adapters were found for ' https://api.glesys.com//domain/listrecords/'

Removing the trailing space from this URL resolved that error:
https://github.com/runfalk/certbot-glesys/blob/master/certbot_glesys.py#L34

Congratulations!

And now I've got my certificate.

Thank you for your help with these issues. This was still easier than trying to implement this on my own =)

from certbot-dns-glesys.

runfalk avatar runfalk commented on September 26, 2024

Good to hear it worked out for you!

from certbot-dns-glesys.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.