1
0
Commit Graph

90 Commits

Author SHA1 Message Date
Nicolas Duchon
3cb7df6fdd
feat: disable default certificate creation by default (#1157) 2024-10-12 19:07:26 +02:00
Nicolas Duchon
0f3a1fb72e build: acme.sh 2.9.0 -> 3.0.7 2024-01-14 14:49:05 +01:00
Nicolas Duchon
9f78d105b4 test: assert that default certificate symlink isn't removed 2023-12-15 12:56:14 +01:00
Nicolas Duchon
2be93248eb
test: update wildcard location enumeration test 2023-12-10 18:54:37 +01:00
Nicolas Duchon
1fc38f882b
refactor: move to correctly namespaced labels (#1046) 2023-08-01 21:45:39 +02:00
Nicolas Duchon
a16a97fe11
fix: restrict private key permissions (#1016)
* fix: restrict private file permissions by default

* fix: check perms of /etc/acme.sh private keys

* fix: typo
2023-03-27 19:03:21 +02:00
Nicolas Duchon
09a78d88e4
Merge pull request #977 from nginx-proxy/dependabot/docker/alpine-3.17.0
chore(deps): Bump alpine from 3.16.3 to 3.17.0
2022-12-23 19:16:18 +01:00
Nicolas Duchon
87c27d22a6
feat: use EAB if available no matter the ACME CI (#981)
* ci: setup Pebble with docker-compose + .env file

* refactor: move acme.sh hooks further down the file

* feat: user EAB with other CAs than Zero SSL

* tests: ACME External Account Binding (EAB)

* ci: add local Pebble EAB testing
2022-12-06 12:28:48 +01:00
Nicolas Duchon
23c5a2379c
test: fix private_keys test 2022-12-03 20:18:15 +01:00
Nicolas Duchon
7c86871bd0
fix: typo in pre/post hooks test file 2022-03-02 19:55:22 +01:00
Nicolas Duchon
16f7e198df
tests: per-container Pre-Hooks and Post-Hooks 2022-03-02 19:29:25 +01:00
Nicolas Duchon
084766d0eb
tests: change run_nginx_container() parameter handling 2022-03-02 19:29:25 +01:00
Nicolas Duchon
312fe57bb8
fix: remove unnecessary echo triggering SC2116 2022-03-02 17:42:54 +01:00
TreeN0de
c26ee284cd
tests: acme.sh pre and post hooks 2022-02-25 20:00:08 +01:00
TreeN0de
e3419dffb8
tests: change run_le_container() parameter handling 2022-02-25 20:00:08 +01:00
Nicolas Duchon
67d4194fb6
feat: use pre generated RFC7919 DH groups
Co-authored-by: polarathene <5098581+polarathene@users.noreply.github.com>
2021-12-14 23:32:39 +01:00
Nicolas Duchon
746704cf30
tests: use pre generated dhparam.pem on companion 2021-12-08 01:42:27 +01:00
Nicolas Duchon
4bdb229e51
ci: double the tests timeout duration 2021-04-05 14:37:14 +02:00
Nicolas Duchon
e9abac8b12
chore: project name change 2021-04-05 00:27:52 +02:00
Nicolas Duchon
11a534ecc1
chore: use the nginxproxy/nginx-proxy registry 2021-04-05 00:21:31 +02:00
Logan Kennelly
ffffdc86bd Fix unintentional file globbing during wildcard lookup
Matching globs are common because the script runs in the certs
directory.

The test uses a suffix match as the test domains don't include
subdomains, although such cases should probably be considered.

Fix the le3.wtf test. The existing add_location_configuration modifies
"default"; a second add is not necessary.

Fixes #763
2021-03-15 18:14:22 -07:00
Nicolas Duchon
cc2fa069c0
Enable local tests with both Boulder and Pebble 2020-12-28 16:28:18 +01:00
Nicolas Duchon
dc4255d8fa
CI/CD: Refactor the run_nginx_container() function 2020-12-28 11:32:04 +01:00
Nicolas Duchon
b77392a5c8
CI/CD: Test against both Boulder and Pebble 2020-12-28 11:31:20 +01:00
Nicolas Duchon
3f65c8c6c1
CI/CD: Test against Pebble 2020-12-28 11:31:12 +01:00
Nicolas Duchon
be654b5d27
Add OCSP Must-Staple extension feature (#740) 2020-12-25 18:23:33 +01:00
Nicolas Duchon
000c279bb6
CI/CD: Use in-container artifact cleaning script 2020-12-22 00:07:15 +01:00
Nicolas Duchon
992928816d
CI/CD: Fix certs_san test 2020-12-21 23:56:18 +01:00
Kevin Marilleau
cd3c9681dd
Move CI/CD from Travis to Github Actions. 2020-12-21 22:04:55 +01:00
Nicolas Duchon
082ad32f49
Fix the private_keys test 2020-12-07 21:05:32 +01:00
Nicolas Duchon
6a4541ade9
Fix expected empty test output
They still require an (empty) expected-std-out.txt file
2020-12-07 19:40:41 +01:00
Nicolas Duchon
73b7186d6d
Raise back docker-gen debounce a bit 2020-12-07 00:57:22 +01:00
Nicolas Duchon
65520ff6fb
Small fixes on symlinks test 2020-11-29 02:55:13 +01:00
Nicolas Duchon
5cfe0cb2d3
Fix the container_restart test
This might be a race condition
2020-11-29 02:55:13 +01:00
Nicolas Duchon
f069d50d33
Fix tests self cleanup 2020-11-29 02:55:13 +01:00
Nicolas Duchon
2cece8658a
Fix docker_api test expecting wrong signal 2020-11-29 02:55:13 +01:00
Nicolas Duchon
8a57f95994
Comment clarification in single domain test 2020-11-29 02:55:12 +01:00
Nicolas Duchon
ce78b18088
User correct DEBUG level in tests 2020-11-29 02:55:12 +01:00
Nicolas Duchon
3db820a339
Test for private keys types 2020-11-27 14:47:28 +01:00
Nicolas Duchon
caf79a0071
Shell linting 2020-11-27 14:47:28 +01:00
Nicolas Duchon
a5b3b0a8b6
Do not attempt to read inexistant files in tests 2020-11-27 14:47:28 +01:00
Nicolas Duchon
92cf9ff147
Test suite refactoring
As much as possible, output to stdout on error condition only
in order to reduce the need for expected-std-out.txt
2020-11-27 14:47:25 +01:00
Nicolas Duchon
0c165134b9
Update docs and comments 2020-11-27 14:46:45 +01:00
Nicolas Duchon
a3f32e11b4
Update acme_accounts test for LETSENCRYPT_EMAIL 2020-11-27 14:46:44 +01:00
Nicolas Duchon
562d7f1154
Add test for ACME accounts handling 2020-11-27 14:46:44 +01:00
Nicolas Duchon
b07dbc5468
Test if symlinks get created on RENEW_SKIP 2020-11-27 14:46:43 +01:00
Nicolas Duchon
e63b22722e
Fix wrong container names on Travis 2020-11-27 14:46:43 +01:00
Nicolas Duchon
984235f36f
Shell linting 2020-11-27 14:46:40 +01:00
Nicolas Duchon
52b7a51ca2
Extend timeout for restart test 2020-11-27 14:45:37 +01:00
Nicolas Duchon
c821d809f6
Change ACME client to acme.sh 2020-11-27 14:44:01 +01:00