Git Product home page Git Product logo

docker-haproxy-certbot's People

Contributors

nmarus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-haproxy-certbot's Issues

haproxy 2.1 supports dynamic update of ssl certificates without reloading

hi, thanks for this repo. it was helpful for me when trying to figure out what setup i want to build.

with haproxy 2.1, the following would work, instead of restarting haproxy:

haproxy.cfg needs to declare that admin commands through its socket should be allowed:

global
    stats socket /var/run/haproxy mode 600 level admin
#!/bin/bash

set -e

LE_DIR=/etc/letsencrypt/live
HA_DIR=/usr/local/etc/haproxy/certs.d
DOMAINS=$(ls ${LE_DIR})

# update certs for HA Proxy
for DOMAIN in ${DOMAINS}
do
  cat ${LE_DIR}/${DOMAIN}/fullchain.pem ${LE_DIR}/${DOMAIN}/privkey.pem > ${HA_DIR}/${DOMAIN}.pem
  echo -e "set ssl cert ${HA_DIR}/${DOMAIN}.pem <<\n$(cat ${HA_DIR}/${DOMAIN}.pem)\n" | socat stdio /var/run/haproxy
  echo -e "commit ssl cert ${HA_DIR}/${DOMAIN}.pem" | socat stdio /var/run/haproxy
done

Adding qdisc plug dev lo id 40: parent 1:4 Error: Unable to add qdisc: Object not found

When launched container keeps restarting and gives log as ๐Ÿ‘

Adding qdisc plug dev lo id 40: parent 1:4
Error: Unable to add qdisc: Object not found
refcnt 0no options

I am trying this on Mac with operating system 10.14 and docker Versions 18.06.1.

Docker preferences are as follows :

CPUs :2
Memory : 2.0 GiB
Swap: 1.0 GiB
Disk image size : 64 GB

Add ability to remove a cert

Is there a way to remove a cert from the system?

For example if we are using foo.com and it's renewing successfully and then we want to move foo.com to another load balancer, now this will error on the renewals.

Enable haproxy.log with rsyslog

Dear Team,

Thanks a lot for your great product.

I am using your docker image, and it works great. There are only few things, i'd like to suggest if possible to add into future release. At this time, i'd like to enable haproxy.log using rsyslog.

As for now, i installed rsyslog manually, then add following configure into /etc/rsyslog.d/49-haproxy.conf

`# Create an additional socket in haproxy's chroot in order to allow logging via

/dev/log to chroot'ed HAProxy processes

$AddUnixListenSocket /var/lib/haproxy/dev/log

Send HAProxy messages to a dedicated logfile

if $programname startswith 'haproxy' then /var/log/haproxy.log
&~`

Then, i can get /var/log/haproxy.log, with useful output from haproxy daemon other than checking /var/log/supervisor/

Thanks a lot.

Update ACME client to a version that supports ACMEv2

hi,
When running command

docker exec haproxy-certbot certbot-certonly \
  --domain example.com \
  --domain www.example.com \
  --email [email protected] \
  --dry-run

I got the the error message below

Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555

can you pls update dockerfiles to fix this issue?

thanks you

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.