Comments (4)
Hi @EvgenyPrikhodko !
Will include the same functionality in a next PR!
from modsecurity-docker.
@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:
- 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.
- 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.
This is another approach that can be used for nginx: https://github.com/wmnnd/nginx-certbot
from modsecurity-docker.
Closing this one.
from modsecurity-docker.
Related Issues (20)
- docker-entrypoint.d is unused HOT 10
- Can't start the container HOT 5
- Host header modified in reverse proxy mode HOT 1
- Remove status engine call
- Unable to start container with mounted /etc/nginx/nginx.conf HOT 3
- Add support to PCRE2 in v3 HOT 1
- Reverse proxy for multiple domains possible? HOT 1
- Docker image for nginx rests on 1.20.2 HOT 3
- AccessLog and TransferLog are both enabled, preventing disabling access logs properly HOT 1
- Add support for different log formats
- Add log format definition for perflogjson HOT 5
- [modsecurity-crs-nginx] ERROLOG does not reflect REAL_IP_HEADER HOT 2
- Used nginx version is end of life HOT 2
- Add HEALTHCHECK for all images
- Remove building ssdeep and yajl libs
- Manual workflow for testing all architectures HOT 1
- SSL certificated are not loaded in Nginx image HOT 4
- nginx template has a wrong config in proxy_backend.conf.template HOT 7
- Docker image uses the root user HOT 2
- ⚠️ This repository is going to be merged into the modsecurity-crs-docker repo HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modsecurity-docker.