diff options
author | Francis Lavoie <lavofr@gmail.com> | 2021-06-07 14:18:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 12:18:49 -0600 |
commit | 658772ff24b9e1eabf6f254d039d91e8abfcb775 (patch) | |
tree | fe33063ee596c339066c71ff02034f4f2834a259 /caddytest/integration | |
parent | 323ffd20764e0f31a26ac700952adbb937b9eb69 (diff) |
httpcaddyfile: Add `skip_install_trust` global option (#4153)
Fixes https://github.com/caddyserver/caddy/issues/4002
Diffstat (limited to 'caddytest/integration')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/global_options_skip_install_trust.txt | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/global_options_skip_install_trust.txt b/caddytest/integration/caddyfile_adapt/global_options_skip_install_trust.txt new file mode 100644 index 0000000..f949ac1 --- /dev/null +++ b/caddytest/integration/caddyfile_adapt/global_options_skip_install_trust.txt @@ -0,0 +1,56 @@ +{ + skip_install_trust +} + +a.example.com { + tls internal +} +---------- +{ + "apps": { + "http": { + "servers": { + "srv0": { + "listen": [ + ":443" + ], + "routes": [ + { + "match": [ + { + "host": [ + "a.example.com" + ] + } + ], + "terminal": true + } + ] + } + } + }, + "pki": { + "certificate_authorities": { + "local": { + "install_trust": false + } + } + }, + "tls": { + "automation": { + "policies": [ + { + "subjects": [ + "a.example.com" + ], + "issuers": [ + { + "module": "internal" + } + ] + } + ] + } + } + } +}
\ No newline at end of file |