Commit Graph

5535 Commits (fcffe8beb9da574818ee6f53772fcd3bbe737d72)
 

Author SHA1 Message Date
William Lallemand 36fc321096 haproxy: use the master CLI for hot update
DEPLOY_HAPROXY_MASTER_CLI allows to use the HAProxy master CLI instead
of a stats socket for DEPLOY_HAPROXY_HOT_UPDATE="yes"

The syntax of the master CLI is slightly different, a prefix with the
process number need to be added before any command.

This patch uses ${_cmdpfx} in front of every socat commands which is
filled when the master CLI is used.
1 year ago
William Lallemand 98a7a01dbb haproxy: deploy script can add a new certificate over the stats socket
DEPLOY_HAPROXY_HOT_UPDATE="yes" now allows to add a new certificate
within HAProxy instead of updating an existing one.

In order to work, the ${DEPLOY_HAPROXY_PEM_PATH} value must be used as a
parameter to the "crt" keyword in the haproxy configuration.

The patch uses the following commands over HAProxy stats socket:
- show ssl cert
- new ssl cert
- set ssl cert
- commit ssl cert
- add ssl crt-list
1 year ago
William Lallemand 0f7be90500 haproxy: deploy script can update existing certificate over stats socket
Since version 2.2, HAProxy is able to update dynamically certificates,
without a reload.

This patch uses socat to push the certificate into HAProxy in order to
achieve hot update. With this method, reloading is not required.
This should be used only to update an existing certificate in haproxy.

2 new variables are available:

- DEPLOY_HAPROXY_HOT_UPDATE="yes" update over the stats socket instead
  of reloading

- DEPLOY_HAPROXY_STATS_SOCKET="UNIX:/run/haproxy/admin.sock" set the path on
  the stats socket.
1 year ago
William Lallemand 7aaf4432d4 haproxy: sanitize the PEM in the deploy script
Sanitize the PEM of the haproxy deploy script by removing the '\n', this
way it could be injected directly over the CLI.
1 year ago
neil 884a8995b4
Merge pull request #4853 from Max13/deploy/proxmoxve
Fix typo in proxmoxve deploy hook
1 year ago
neil bb42595275
Merge pull request #4866 from phedoreanu/dev
dns_1984.hosting.sh: update login and account status URLs
1 year ago
neil a4bd89c938 fix 1 year ago
neil f364d4fbef fix 1 year ago
neil f899d0d8ed update 1 year ago
Sander Cox 074cf00a7c
Update dns_gcloud.sh rm logs record added
The logs show record was added twice but the second time was actual the rm command thus the removal of the record!
1 year ago
Adrian Fedoreanu 15d10eeebc
dns_1984.hosting.sh: update login and account status URLs 1 year ago
mrbaiwei bea71f3411 Update dns_west_cn.sh
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
1 year ago
mrbaiwei eb99803b53 Update west.cn domain api
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
1 year ago
mrbaiwei a60d0c4108 Update dns_west_cn.sh
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
1 year ago
neil 1cc3a13c49 fix comments 1 year ago
mrbaiwei feffbba6de Update dns_west.sh
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
1 year ago
mrbaiwei 6ea09444ec Update dns_west.sh
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
1 year ago
neil f1f486dacf
Merge pull request #4843 from trulyliu/dev
Fix https://github.com/acmesh-official/acme.sh/issues/4460
1 year ago
neil fec4af3194
Merge pull request #4855 from studycom-mrobinson/aws-similar-names
Acme2 similar names
1 year ago
mrbaiwei 5342c7c82b support West.cn Domain
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
1 year ago
Matthew Robinson 8454ffa331 Fix issue with similar domain names causing an error in selecting the proper root domain to add challenge records in 1 year ago
Gavin Leo 199977be6a Fix https://github.com/acmesh-official/acme.sh/issues/4460
Update gcore API url.
1 year ago
Adnan RIHAN 00dbc3881f
Fixed variables 1 year ago
neil d93a5b2d20
Merge pull request #4841 from podguzovvasily/patch-1
Update haproxy.sh
1 year ago
podguzovvasily 8ca5ca6594
Update haproxy.sh
resolved issue with HAProxy https://github.com/acmesh-official/acme.sh/issues/4788
according https://serversforhackers.com/c/letsencrypt-with-haproxy
1 year ago
neil fe890c62f4 fix https://github.com/acmesh-official/acme.sh/issues/4835 1 year ago
neil e15513bfdd fix format 1 year ago
neil dbe569c0d9
Merge pull request #4622 from defragatwork/mattermost
Add support for Mattermost notifications (Bot account)
1 year ago
neil f2e1b589b5 start 3.0.8 1 year ago
neil 377a37e4c9
Merge pull request #4820 from acmesh-official/dev
sync
1 year ago
neil 6e163208b4
Merge pull request #4809 from winromulus/dev
fix: Synology DSM API path regex
1 year ago
Romeo Dumitrescu 87a7bde618 fix: Synology DSM API path regex
Fix the regex for looking up the API path value from the Synology API query.
1 year ago
neil 37b0498699
Merge pull request #4805 from acmesh-official/dev
sync
1 year ago
neil 59f976dc48 fix https://github.com/acmesh-official/acme.sh/issues/4798 1 year ago
neil 8565a853a8
Merge pull request #4787 from TobiasGrave/fix_variomedia_api
Fix Variomedia API
1 year ago
Tobias Grave dfd49e46ad Fix root zone determination for Variomedia API 1 year ago
neil 73bbaced62
Merge pull request #4782 from KincaidYang/KincaidYang-patch-4
Add TencentCloud API
1 year ago
neil 0c8870cb7f
Merge pull request #944 from MarcelWaldvogel/random-cron
Random cron
1 year ago
neil 1a90f66f73
Merge pull request #4794 from zbbfufu/feature/gandi-replace-apikey-by-personal-token
dns_gandi: implements token in addition to the (deprecated) API key
1 year ago
Julien Furgerot 558e706bde fix ci errors (shellcheck & shfmt) 1 year ago
Julien Furgerot 1a08be0a3f dns_gandi: implements personal access token in addition to the (deprecated) API key 1 year ago
Scruel Tao 29b2960805
Optimze comment & remove tail space 1 year ago
Scruel Tao f7f3a0bf0d
Merge branch 'dev' into syno-patch 1 year ago
Tobias Grave ae4c186f55 Fix Variomedia API 1 year ago
KincaidYang af534a73fc
移除部分敏感debug信息 1 year ago
KincaidYang 772bbdc862
Replace some functions 1 year ago
neil 86521ec443
Merge pull request #4754 from LJea/master
Improved api compatibility with devices
1 year ago
KincaidYang e3c4c9265d
Replace some functions. 1 year ago
KincaidYang b3f8612e61
Following Neilpang's suggestions and project standards, replace some functions. 1 year ago
LJea 27b1dd04c4
improve the compatibility
Fixed an issue where some embedded devices could not obtain nanoseconds resulting in abnormal parameter coding
1 year ago