summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt/global_options_acme.txt
diff options
context:
space:
mode:
authorMatt Holt <mholt@users.noreply.github.com>2020-11-16 11:05:55 -0700
committerGitHub <noreply@github.com>2020-11-16 11:05:55 -0700
commit13781e67ab1b2553598d0dd1a7153ce3cdbd4879 (patch)
tree4c53ec6e7ebc051b7d5946a25cd4b276016b698d /caddytest/integration/caddyfile_adapt/global_options_acme.txt
parent7a3d9d81fe5836894b39d0e218193f7cffd732ff (diff)
caddytls: Support multiple issuers (#3862)
* caddytls: Support multiple issuers Defaults are Let's Encrypt and ZeroSSL. There are probably bugs. * Commit updated integration tests, d'oh * Update go.mod
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/global_options_acme.txt')
-rw-r--r--caddytest/integration/caddyfile_adapt/global_options_acme.txt26
1 files changed, 14 insertions, 12 deletions
diff --git a/caddytest/integration/caddyfile_adapt/global_options_acme.txt b/caddytest/integration/caddyfile_adapt/global_options_acme.txt
index 500a723..0f1d78f 100644
--- a/caddytest/integration/caddyfile_adapt/global_options_acme.txt
+++ b/caddytest/integration/caddyfile_adapt/global_options_acme.txt
@@ -57,18 +57,20 @@
"automation": {
"policies": [
{
- "issuer": {
- "ca": "https://example.com",
- "email": "test@example.com",
- "external_account": {
- "key_id": "4K2scIVbBpNd-78scadB2g",
- "mac_key": "abcdefghijklmnopqrstuvwx-abcdefghijklnopqrstuvwxyz12ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh"
- },
- "module": "acme",
- "trusted_roots_pem_files": [
- "/path/to/ca.crt"
- ]
- },
+ "issuers": [
+ {
+ "ca": "https://example.com",
+ "email": "test@example.com",
+ "external_account": {
+ "key_id": "4K2scIVbBpNd-78scadB2g",
+ "mac_key": "abcdefghijklmnopqrstuvwx-abcdefghijklnopqrstuvwxyz12ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh"
+ },
+ "module": "acme",
+ "trusted_roots_pem_files": [
+ "/path/to/ca.crt"
+ ]
+ }
+ ],
"key_type": "ed25519"
}
],