-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwith-plugin.yml
80 lines (78 loc) · 2.04 KB
/
with-plugin.yml
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
external-url-prefix: "http://test.test"
plugin-modules: ["example_plugin.encrypt_echo"]
keysets:
testing-ca:
path-prefix: keys-rsa
keys:
root:
path: root.key.pem
password: secret
interm:
path: interm.key.pem
password: secret
signer1:
path: signer.key.pem
password: secret
pki-architectures:
testing-ca:
keyset: testing-ca
entity-defaults:
country-name: BE
organization-name: Testing Authority
entities:
root:
common-name: Root CA
interm:
common-name: Intermediate CA
signer1:
organizational-unit-name: Signers
common-name: Alice
certs:
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]
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
path-len-constraint: 0
- id: key_usage
critical: true
smart-value:
schema: key-usage
params: [digital_signature, key_cert_sign, crl_sign]
recipient1:
subject: signer1
issuer: interm
validity:
valid-from: "2020-01-01T00:00:00+0000"
valid-to: "2022-01-01T00:00:00+0000"
extensions:
- id: key_usage
critical: true
smart-value:
schema: key-usage
params: [key_encipherment]
services:
plugin:
encrypt-echo:
test-endpoint:
recipient: recipient1