Tim Kimber
1982a94d03
Merge pull request #691 from tlhackque/master
Prefer API V2 when both offered in a single directory, improve test error reports
4 years ago
Timothe Litt
d7e3039308
Add a test for unified directories
Verify that a unified directory, API V2 is selected.
4 years ago
Timothe Litt
2f55c41fb5
Optimize cURL version checks
Only run cURL once to determine it's version.
4 years ago
Timothe Litt
d91516735f
Make first fail global & improve diagnostics
The first fail logic seems scoped to a single test file.
Set the flag globally.
Since the tests run in a container, cleanup is automagic.
Various test tweaks to allow for skipping tests & null strings.
4 years ago
Timothe Litt
ea831390aa
Skip all tests after first failure
From https://github.com/sstephenson/bats/issues/135 via @timkimber
4 years ago
Timothe Litt
4447f4ec47
Run tests in debug mode, use fork's repo for upgraded
The test harness will suppress output unless an error occurs.
Upgrade testing was failing in forked repos CI because the
source repo was hard-coded. Use the CI environment to use
the fork's repo.
4 years ago
Timothe Litt
5a6f3e318d
Prefer API V2 when both offered in a single directory
This doesn't happen with Let'sEncrypt, but it does with at least
one other CA. The ACME spec allows it.
4 years ago
Tim Kimber
d2bdc9222b
Merge pull request #685 from tlhackque/master
Fix copy_file_to_location failures with ssh, missing ftps://
4 years ago
Timothe Litt
23b670d50a
Provide traceback on error exit when debugging or running tests
More breadcrumbs.
4 years ago
Timothe Litt
519aafdce5
Report caller of error_exit in debug and test modes
debug() does this, but the automated tests aren't run with -d.
This also ensures that there is a breadcrumb if error_exit is
called without a preceding debug().
It's really hard to follow the breadcrumbs for debug when there
aren't any.
4 years ago
Timothe Litt
f245e9a5f5
Document use of --insecure when verifying HTTP-01 tokens
--insecure is almost always a bad idea. In this case, it
is required for compatibility with Let's Encrypt.
Replace the less obvious '-k' with '--insecure' in the cURL
command, and document why it is used in the comments,
4 years ago
Timothe Litt
3bc4a80a89
Lint: FTPS_OPTIONS not defined in revised FTP update
4 years ago
Timothe Litt
830148e419
Ensure that ftpes: and ftps: use TLS
Prevent fallback to insecure when a secure protocol is requested.
4 years ago
Timothe Litt
b8f943b88b
Missed part of suggested change in batch
Co-authored-by: Tim Kimber <timkimber@users.noreply.github.com>
4 years ago
Timothe Litt
8070d45ad4
Apply suggestions
Co-authored-by: Tim Kimber <timkimber@users.noreply.github.com>
4 years ago
Timothe Litt
bf9403fb9c
Provide ftps:// copy which verifies remote TLS certificates
ftses:// uses --insecure, which is, well, insecure.
4 years ago
Timothe Litt
e21fd2e087
Fix lint
4 years ago
Timothe Litt
6aacf4b3ca
Fix copy_file_to_location failures with ssh
When a suffix is applied to a filename lacking an extension,
a '.' in the host name is treated as the extension, and
the extension is inserted there instead of being appended
to the filename.
Inspect the basename of the destination, and append only the
suffix if no extension is present.
Thus ssh:host.example.net:/etc/ssl/private/foo will now be
copied to host.example.net/etc/ssl/private/foo.suffix instead
of host.example.suffix.net/etc./ssl/private/foo (which usually would fail).
Note that a local file, such as /etc/ssl/private/foo will
be copied to /etc/ssl/private/foo.suffix. (Not
/etc/ssl/private/foo.suffix. as before, which was incorrect).
4 years ago
Tim Kimber
a3983b35f0
Merge pull request #684 from srvrco/fix-host-idn-bug
Fix host idn bug
4 years ago
Tim Kimber
2f518618d3
Update version and change log
4 years ago
Tim Kimber
9d023115b0
Test that host/nslookup are not called with +noidnout
4 years ago
Tim Kimber
0855b908ea
Add GETSSL_IDN_HOST instead of hardcoding idn test domain
4 years ago
Tim Kimber
b1e1c44119
Check if drill supports +noidnout
Only pass +noidnout param to dig/drill
4 years ago
Tim Kimber
91d0f13ec4
Merge pull request #681 from respencer/fix-heredoc-whitespace
Fix leading whitespace in heredoc so it's uniform
4 years ago
Tim Kimber
4aa9c02186
Merge pull request #680 from srvrco/release-2.37
release-2.37
4 years ago
Robert Spencer
ee249abef2
Fix leading whitespace in heredoc so it's uniform
4 years ago
Tim Kimber
622b4b3237
Update version and change log
4 years ago
Tim Kimber
278988b76d
Enable the stale issue workflow
4 years ago
Tim Kimber
25d29bbff5
Use setup_file so setup code only runs once
4 years ago
Tim Kimber
be1e5510d5
Merge pull request #676 from atisne/feat-debug_remote_cmd
Do not redirect outputs on remote commands when the debug option is used
4 years ago
Tim Kimber
9cf1897e1a
Merge pull request #679 from Dr-Shadow/env_dns_ovh
[DNS-01][OVH] Config from env
4 years ago
Tim Kimber
fe88b89517
Merge pull request #678 from srvrco/idn-tests
IDN fixes
4 years ago
Tim Kimber
5d69191f3d
Correct fix for +idnnoout check and dig -r check
4 years ago
Robin KERDILES
ce61e500ab
Support environment variables when using DNS challenges with OVH
4 years ago
Tim Kimber
84a3cf2640
Fix check to see if dig supports +noidnout (only broke on debian)
4 years ago
Tim Kimber
f38b8212a3
Test on rockylinux
4 years ago
Tim Kimber
529a4e1fee
Update dockerfiles to set locale to en_US (needed for idn testing)
4 years ago
Tim Kimber
dd2de27ae5
Use +noidnout for dig and drill if IDN domain
4 years ago
Tim Kimber
b54acaeab7
Fix comments
4 years ago
atisne
32f56a9b4e
Do not redirect outputs on remote commands when the debug option is used
When the debug option is used, it may be useful to see errors that may occured
on remote calls (ssh).
4 years ago
Tim Kimber
cbf9817a95
Merge pull request #674 from srvrco/fix-issue-673
Remove spaces and sort when checking if SANS list changed
4 years ago
Tim Kimber
e4c17c8d56
Remove spaces and sort when checking if SANS list changed
4 years ago
Tim Kimber
2c315e717b
Move to checkout v2, don't run tests when changing github actions
5 years ago
Tim Kimber
279527ea2b
Move from gatsbyjs fork back to actions
5 years ago
Tim Kimber
9984a26968
Merge pull request #672 from srvrco/add-domain-to-sans
Request new certificate if SANs changed
5 years ago
Tim Kimber
c5c2b0e7be
Update alpine nginx config
5 years ago
Tim Kimber
bfd68f8725
Fix tests (new duckdns servers)
5 years ago
Tim Kimber
aef54af466
Request new certificate if SANs changed
5 years ago
Tim Kimber
9e3334ca2f
Merge pull request #665 from tohn/SC2086
shellcheck disable=SC2086
5 years ago
Yannic Haupenthal
3ebb9a5a37
shellcheck disable=SC2086
5 years ago