1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
|
external-url-prefix: "http://localhost:9000"
keysets:
testing-aa:
path-prefix: keys
keys:
root:
path: root.key.pem
interm:
path: interm.key.pem
inbetween:
path: inbetween.key.pem
aa:
path: aa.key.pem
people-ca:
path: people-ca.key.pem
alice:
path: alice.key.pem
bob:
path: bob.key.pem
pki-architectures:
basic-aa:
keyset: testing-aa
entity-defaults:
country-name: XX
organization-name: Testing Attribute Authority
entities:
root:
common-name: Root AA CA
inbetween:
common-name: Inbetween Intermediate AA CA
interm:
common-name: Intermediate AA CA
aa:
common-name: Leaf AA
people-ca:
common-name: People Root CA
alice:
organizational-unit-name: People
common-name: Alice
bob:
organizational-unit-name: People
common-name: Bob
validator:
common-name: Validator
organizational-unit-name: Validators
validator-group:
organizational-unit-name: Validators
certs:
root:
subject: root
issuer: root
validity:
valid-from: "2000-01-01T00:00:00+0000"
valid-to: "2500-01-01T00:00:00+0000"
extensions:
- id: basic_constraints
critical: true
value:
ca: true
- id: key_usage
critical: true
smart-value:
schema: key-usage
params: [digital_signature, key_cert_sign, crl_sign]
people-ca:
template: root
subject: people-ca
issuer: people-ca
alice:
subject: alice
issuer: people-ca
validity:
valid-from: "2000-01-01T00:00:00+0000"
valid-to: "2100-01-01T00:00:00+0000"
extensions:
- id: key_usage
critical: true
smart-value:
schema: key-usage
params: [digital_signature]
bob:
template: alice
subject: bob
interm-unrestricted:
subject: interm
issuer: root
validity:
valid-from: "2000-01-01T00:00:00+0000"
valid-to: "2100-01-01T00:00:00+0000"
extensions:
- id: basic_constraints
critical: true
value:
ca: true
- id: key_usage
critical: true
smart-value:
schema: key-usage
params: [digital_signature, key_cert_sign, crl_sign]
- id: crl_distribution_points
smart-value:
schema: crl-dist-url
params: {crl-repo-names: [root]}
inbetween-aa:
template: interm-unrestricted
subject: inbetween
extensions:
- id: aa_controls
critical: true
value:
path-len-constraint: 0
permitted-attrs: ['role']
interm-pathlen-violation:
template: interm-unrestricted
subject: interm
issuer: inbetween
issuer-cert: inbetween-aa
extensions:
- id: aa_controls
critical: true
value:
permitted-attrs: ['role']
interm-role:
template: interm-unrestricted
subject: interm
extensions:
- id: aa_controls
critical: true
value:
path-len-constraint: 0
permitted-attrs: ['role']
role-aa:
subject: aa
issuer: interm
issuer-cert: interm-role
validity:
valid-from: "2000-01-01T00:00:00+0000"
valid-to: "2100-01-01T00:00:00+0000"
extensions:
- id: key_usage
critical: true
smart-value:
schema: key-usage
params: [digital_signature, crl_sign]
- id: crl_distribution_points
smart-value:
schema: crl-dist-url
params: {crl-repo-names: [interm]}
- id: authority_information_access
smart-value:
schema: aia-urls
params:
ca-issuer-links:
- repo: interm
include-repo-authority: true
- id: aa_controls
critical: true
value:
permitted-attrs: ['role']
permit-unspecified: false
aa-unrestricted:
subject: aa
issuer: interm
issuer-cert: interm-unrestricted
validity:
valid-from: "2000-01-01T00:00:00+0000"
valid-to: "2100-01-01T00:00:00+0000"
extensions:
- id: key_usage
critical: true
smart-value:
schema: key-usage
params: [digital_signature, crl_sign]
attr-certs:
alice-role-with-rev:
holder:
name: alice
issuer: aa
issuer-cert: role-aa
attributes:
- id: role
smart-value:
schema: role-syntax
params:
name: {type: email, value: bigboss@example.com}
validity:
valid-from: "2010-01-01T00:00:00+0000"
valid-to: "2030-01-01T00:00:00+0000"
extensions:
- id: crl_distribution_points
smart-value:
schema: crl-dist-url
params:
crl-repo-names: [role-aa]
- id: authority_information_access
smart-value:
schema: aia-urls
params:
ocsp-responder-names: [role-aa]
revocation:
revoked-since: "2020-12-01T00:00:00+0000"
reason: key_compromise
alice-role-norev:
holder:
name: alice
issuer: aa
issuer-cert: role-aa
attributes:
- id: role
multivalued: true
smart-value:
schema: role-syntax
params:
- name: {type: email, value: alice@example.com}
- name: {type: email, value: alice2@example.com}
- id: group
smart-value:
schema: ietf-attribute
params:
- "Employees"
- "Team FooBar"
validity:
valid-from: "2010-01-01T00:00:00+0000"
valid-to: "2030-01-01T00:00:00+0000"
extensions:
- id: no_rev_avail
alice-norev-targeted:
holder:
name: alice
issuer: aa
issuer-cert: aa-unrestricted
attributes:
- id: role
multivalued: true
smart-value:
schema: role-syntax
params:
- name: {type: email, value: alice@example.com}
- name: {type: email, value: alice2@example.com}
- id: group
smart-value:
schema: ietf-attribute
params:
- "Employees"
- "Team FooBar"
validity:
valid-from: "2010-01-01T00:00:00+0000"
valid-to: "2030-01-01T00:00:00+0000"
extensions:
- id: no_rev_avail
- id: target_information
critical: true
smart-value:
schema: ac-targets
params:
- {type: directory_name, value: validator}
- {type: directory_name, is-group: true, value: validator-group}
services:
ocsp:
role-aa:
for-issuer: aa
issuer-cert: role-aa
responder-cert: role-aa
signing-key: aa
is-aa-responder: true
crl-repo:
root:
for-issuer: root
signing-key: root
simulated-update-schedule: "P90D"
interm:
for-issuer: interm
signing-key: interm
issuer-cert: interm-role
simulated-update-schedule: "P30D"
role-aa:
for-issuer: aa
signing-key: aa
issuer-cert: role-aa
simulated-update-schedule: "P30D"
crl-type: ac-only
cert-repo:
root:
for-issuer: root
publish-issued-certs: yes
interm:
for-issuer: interm
issuer-cert: interm-role
publish-issued-certs: no
|