open-vault/sdk/helper
Alexander Scheel e42fd09b47
Add custom DNS resolver to ACME configuration (#20400)
* Handle caching of ACME config

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add DNS resolvers to ACME configuration

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add custom DNS resolver to challenge verification

This required plumbing through the config, reloading it when necessary,
and creating a custom net.Resolver instance.

Not immediately clear is how we'd go about building a custom DNS
validation mechanism that supported multiple resolvers. Likely we'd need
to rely on meikg/dns and handle the resolution separately for each
container and use a custom Dialer that assumes the address is already
pre-resolved.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Improvements to Docker harness

 - Expose additional service information, allowing callers to figure out
   both the local address and the network-specific address of the
   service container, and
 - Allow modifying permissions on uploaded container files.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add infrastructure to run Bind9 in a container for tests

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Validate DNS-01 challenge works

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-04-27 15:30:29 -04:00
..
authmetadata adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
base62 adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
certutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
cidrutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
compressutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
consts OSS changes for new update-primary API endpoint (#20277) 2023-04-20 13:13:37 -07:00
cryptoutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
custommetadata adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
dbtxn adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
docker Add custom DNS resolver to ACME configuration (#20400) 2023-04-27 15:30:29 -04:00
errutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
hclutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
identitytpl adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
jsonutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kdf adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
keysutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ldaputil Add Configurable LDAP Max Page Size (#19032) 2023-04-20 20:39:27 +00:00
license adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
locksutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logging adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
mlock adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ocsp Move OCSP/PKI interop test to PKI engine (#20273) 2023-04-20 14:57:20 +00:00
parseutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
password adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pathmanager adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pluginutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pointerutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policyutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
roottoken adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
salt adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
strutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
template adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
testcluster Don't require every test to specify a VaultLicense field (#20372) 2023-04-26 18:39:48 +00:00
testhelpers/schema Fix response structure validation tests for non-2xx responses (#19726) 2023-03-23 16:33:44 -04:00
tlsutil adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
tokenutil UI: remove references to comma separation for string array edit types (#20163) 2023-04-19 16:16:30 +00:00
useragent adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
wrapping adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
xor adding copyright header (#19555) 2023-03-15 09:00:52 -07:00