Giter Site home page Giter Site logo

Comments (5)

deno028 avatar deno028 commented on May 27, 2024

Certbot version: 2.7.0

After checking more inside container and run manually I got this error:

root@9c48b818ed57:/# certbot --nginx renew -v
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/[mydomain.com]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Certificate is due for renewal, auto-renewing...
Failed to renew certificate[mydomain.com] with error: The requested nginx plugin does not appear to be installed

Then I install nginx plugin for certbot by running this command:
apt-get install python3-certbot-nginx

Rerun renew command inside container:
certbot renew

Now it successful renewal.

from docker-nginx-certbot.

JonasAlfredsson avatar JonasAlfredsson commented on May 27, 2024

Hi deno028,

It looks like certbot is trying to perform the renewal going through HTTPS instead of the HTTP path we expect. How does the rest of you configurations look like?

from docker-nginx-certbot.

JonasAlfredsson avatar JonasAlfredsson commented on May 27, 2024

Any updates on this?

from docker-nginx-certbot.

deno028 avatar deno028 commented on May 27, 2024

On my last comment. I ran it successfully after install nginx module.

I think something wrong with the renewal challenge it should be called http instead of https.

from docker-nginx-certbot.

JonasAlfredsson avatar JonasAlfredsson commented on May 27, 2024

I still think there is something iffy with the rest of the config. But if you are happy with your solution we close this issue :)

from docker-nginx-certbot.

Related Issues (20)

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.