Skip to content

Commit 5409c10

Browse files
committed
Update dehydrated to v0.5.0
1 parent a48174d commit 5409c10

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
### Changed
1111
- Make the renewal process more efficient so the dehydrated shell script is only executed when certificates are up for renewal (rather than every night). This can reduce CPU usage in environments with lots of certificates. Thanks to [@brianlund](https://github.com/brianlund). ([#111](https://github.com/GUI/lua-resty-auto-ssl/pull/111), [#110](https://github.com/GUI/lua-resty-auto-ssl/issues/110))
1212
- Only call the `allow_domain` callback if a certificate is not present in shared memory. This may improve efficiency in cases where the `allow_domain` callback is more costly or takes longer. Thanks to [@gohai](https://github.com/gohai). ([#107](https://github.com/GUI/lua-resty-auto-ssl/pull/107))
13+
- Upgrade dehydrated to v0.5.0.
1314

1415
### Fixed
1516
- Fix renewals when using the file adapter and too many certificate files were present for shell globbing ([#109](https://github.com/GUI/lua-resty-auto-ssl/issues/109))

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
22
BUILD_DIR?=$(ROOT_DIR)/build
33

4-
DEHYDRATED_VERSION:=v0.4.0
4+
DEHYDRATED_VERSION:=v0.5.0
55
LUA_RESTY_SHELL_VERSION:=955243d70506c21e7cc29f61d745d1a8a718994f
66
SOCKPROC_VERSION:=fc8ad3f15a7b2cf2eaf39663b90010efc55e207c
77

bin/letsencrypt_hooks

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ request_failure() {
6464
exit 1
6565
}
6666

67+
startup_hook() {
68+
:
69+
}
70+
6771
exit_hook() {
6872
:
6973
}

lib/resty/auto-ssl/init_master.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ local function generate_config(auto_ssl_instance)
6565
ngx.log(ngx.ERR, "auto-ssl: failed to open letsencrypt config file")
6666
else
6767
file:write('# This file will be overwritten by resty-auto-ssl.\n')
68-
file:write('# Place any customizations in ' .. base_dir .. '/letsencrypt/conf.d\n\n')
68+
file:write('# Place any customizations in ' .. base_dir .. '/letsencrypt/conf.d/*.sh\n\n')
6969
file:write('CONFIG_D="' .. base_dir .. '/letsencrypt/conf.d"\n')
7070
file:write('LOCKFILE="' .. base_dir .. '/letsencrypt/locks/lock"\n')
7171
file:write('WELLKNOWN="' .. base_dir .. '/letsencrypt/.acme-challenges"\n')

t/worker_file_permissions.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ permissions:
171171
/tmp/resty-auto-ssl-test-worker-perms/letsencrypt/accounts/aHR0cHM6Ly9hY21lLXN0YWdpbmcuYXBpLmxldHNlbmNyeXB0Lm9yZy9kaXJlY3RvcnkK/account_key.pem nobody nobody 600
172172
/tmp/resty-auto-ssl-test-worker-perms/letsencrypt/accounts/aHR0cHM6Ly9hY21lLXN0YWdpbmcuYXBpLmxldHNlbmNyeXB0Lm9yZy9kaXJlY3RvcnkK/registration_info.json nobody nobody 600
173173
/tmp/resty-auto-ssl-test-worker-perms/letsencrypt/certs nobody nobody 700
174+
/tmp/resty-auto-ssl-test-worker-perms/letsencrypt/chains nobody nobody 700
175+
/tmp/resty-auto-ssl-test-worker-perms/letsencrypt/chains/0a3654cf.chain nobody nobody 600
174176
/tmp/resty-auto-ssl-test-worker-perms/letsencrypt/conf.d root root 755
175177
/tmp/resty-auto-ssl-test-worker-perms/letsencrypt/config root root 644
176178
/tmp/resty-auto-ssl-test-worker-perms/letsencrypt/locks nobody nobody 755

0 commit comments

Comments
 (0)