Code Monkey home page Code Monkey logo

Comments (4)

fzipi avatar fzipi commented on June 7, 2024 1

Hi @EvgenyPrikhodko !

Will include the same functionality in a next PR!

from modsecurity-docker.

fzipi avatar fzipi commented on June 7, 2024

@EvgenyPrikhodko I've used acme.sh in the past with reasonable success, which is a shell script ACME client. Has the same functionality than letsencrypt/certbot, but doesn't depend on python.

There are some problems depending on which web server we target. For apache, there is mod_md that solves mostly everything. I have a PR semi-baked, but still need some tests. For nginx, the problem is a bit different because there is no dynamic reloading of certificates.

We can do two things:

  1. include the acme.sh binary in the dockers. You will need to run the update and restart nginx/apache in this case, certificates aren't going to be picked dynamically. We can use mod_md in apache, but that's one option.
  2. https://github.com/acmesh-official/acme.sh/wiki/Run-acme.sh-in-docker

Even in 1) we have the problem of reloading nginx, or recreating basically what acme.sh has done already. What do you think? We can for sure simplify your task by including a new volume for certs, and point everything there so they are easy to regenerate.

from modsecurity-docker.

fzipi avatar fzipi commented on June 7, 2024

This is another approach that can be used for nginx: https://github.com/wmnnd/nginx-certbot

from modsecurity-docker.

fzipi avatar fzipi commented on June 7, 2024

Closing this one.

from modsecurity-docker.

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.