diff options
author | Francis Lavoie <lavofr@gmail.com> | 2022-01-18 14:18:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 12:18:31 -0700 |
commit | 5a0715689444537cf2c41e3362468b97f31493b6 (patch) | |
tree | 660b57d688f4ad6b7947aa06eb21fc7d7ca67ea7 /caddytest | |
parent | bcb7a19cd3fbc680a017bc2f5aafa71ff77e87e3 (diff) |
httpcaddyfile: Add pki app `root` and `intermediate` cert/key config (#4514)
Diffstat (limited to 'caddytest')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/global_options_skip_install_trust.txt | 22 |
1 files changed, 21 insertions, 1 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 index 39c118f..8116a4b 100644 --- a/caddytest/integration/caddyfile_adapt/global_options_skip_install_trust.txt +++ b/caddytest/integration/caddyfile_adapt/global_options_skip_install_trust.txt @@ -5,6 +5,16 @@ name "Local" root_cn "Custom Local Root Name" intermediate_cn "Custom Local Intermediate Name" + root { + cert /path/to/cert.pem + key /path/to/key.pem + format pem_file + } + intermediate { + cert /path/to/cert.pem + key /path/to/key.pem + format pem_file + } } ca foo { name "Foo" @@ -118,7 +128,17 @@ acme-bar.example.com { "name": "Local", "root_common_name": "Custom Local Root Name", "intermediate_common_name": "Custom Local Intermediate Name", - "install_trust": false + "install_trust": false, + "root": { + "certificate": "/path/to/cert.pem", + "private_key": "/path/to/key.pem", + "format": "pem_file" + }, + "intermediate": { + "certificate": "/path/to/cert.pem", + "private_key": "/path/to/key.pem", + "format": "pem_file" + } } } }, |