补充 OSS 验证策略配置示例
This commit is contained in:
@@ -9,6 +9,7 @@ also needs a valid, matching ripe.cer. No live inputs are bundled here.
|
||||
| --- | --- |
|
||||
| [validate-minimal.toml](validate-minimal.toml) | Minimal automatic TA; built-in defaults |
|
||||
| [validate-full.toml](validate-full.toml) | Common/validate settings, strict completion, successful publication |
|
||||
| [validate-policy.toml](validate-policy.toml) | All validation-policy, validation-time and RRDP/rsync transport settings |
|
||||
| [validate-fixed.toml](validate-fixed.toml) | Fixed TA certificate |
|
||||
| [validate-localhost.toml](validate-localhost.toml) | Generated localhost HTTPS repository with an explicit HTTP CA |
|
||||
| [daemon-all5.toml](daemon-all5.toml) | Five automatic TAs, continuous operation |
|
||||
@@ -32,6 +33,11 @@ Full/daemon examples explicitly choose require-complete=true and
|
||||
run-timeout-secs=1800; built-in defaults are false and 0. Use the
|
||||
[Docker examples](../../docker/examples/README.md) for container paths.
|
||||
|
||||
`validate-policy.toml` is an additive configuration showcase. The existing
|
||||
examples intentionally omit the optional policy/transport keys and therefore
|
||||
continue to use their documented built-in defaults; they do not need to be
|
||||
changed for this iteration.
|
||||
|
||||
## Local HTTPS test repository
|
||||
|
||||
`validate-localhost.toml` is a runnable example for the generated repository
|
||||
|
||||
47
examples/config/validate-policy.toml
Normal file
47
examples/config/validate-policy.toml
Normal file
@@ -0,0 +1,47 @@
|
||||
# Configuration showcase for the validation-policy and rsync transport knobs.
|
||||
# Paths are relative to this TOML file.
|
||||
#
|
||||
# The fixed validation time makes this file reproducible. Update it or remove
|
||||
# the line when using the example against a current public repository.
|
||||
config-version = 1
|
||||
mode = "validate"
|
||||
out = "output/policy"
|
||||
rrdp-state-dir = "state/policy"
|
||||
rrdp-sync-mode = "auto"
|
||||
ccr-out = "output/policy/result.ccr"
|
||||
publish-dir = "publish/policy"
|
||||
|
||||
resource-validation-mode = "validation-update-03" # or "rfc6487"
|
||||
validation-time = "2026-09-22T00:00:00Z"
|
||||
sync-preference = "rrdp-then-rsync" # or "rsync-only"
|
||||
rsync-timeout-secs = 30
|
||||
rsync-command = "/usr/bin/rsync" # change if rsync is installed elsewhere
|
||||
rsync-mirror-root = "state/policy-rsync-mirror"
|
||||
rsync-scope = "module-root" # "host" or "publication-point"
|
||||
|
||||
ta-refresh-policy = "allow-valid-cache"
|
||||
max-ca-depth = 64
|
||||
http-timeout-secs = 300
|
||||
http-root-cert = []
|
||||
parallel-max-repo-sync-workers-global = 8
|
||||
parallel-phase2-object-workers = 8
|
||||
parallel-phase2-worker-queue-capacity = 256
|
||||
parallel-repo-worker-queue-capacity = 1024
|
||||
log-level = "info"
|
||||
log-format = "text"
|
||||
log-progress-interval-secs = 10
|
||||
require-complete = true
|
||||
run-timeout-secs = 1800
|
||||
|
||||
[[anchors]]
|
||||
id = "ripe"
|
||||
tal = "input/ripe.tal"
|
||||
# ta = "input/ripe.cer" # uncomment for fixed mode
|
||||
# constraints = "input/ripe.constraints" # must exist when explicit
|
||||
|
||||
# Keep the compatibility profile for a general public-repository example.
|
||||
# Set the first two fields to true to enable strict name/CMS DER checks.
|
||||
[strict]
|
||||
name = false
|
||||
cms-der = false
|
||||
signed-attrs = false
|
||||
Reference in New Issue
Block a user