mirror of
https://github.com/hanzoai/pki.git
synced 2026-11-03 18:08:14 +00:00
131 lines
2.7 KiB
YAML
131 lines
2.7 KiB
YAML
---
|
|
authority:
|
|
issuers:
|
|
- # specifies Issuer's label
|
|
label: TrustyCA
|
|
# specifies type: tls|codesign|timestamp|ocsp|spiffe|trusty
|
|
type: trusty
|
|
cert: /tmp/xpki/certs/l2_ca.pem
|
|
key: /tmp/xpki/certs/l2_ca.key
|
|
# location of the CA bundle file
|
|
ca_bundle: /tmp/xpki/certs/l1_ca.pem
|
|
# location of the Root CA file
|
|
root_bundle: /tmp/xpki/certs/root_ca.pem
|
|
aia:
|
|
issuer_url: http://localhost:7880/v1/cert/${ISSUER_ID}
|
|
crl_url: http://localhost:7880/v1/crl/${ISSUER_ID}
|
|
ocsp_url: http://localhost:7880/v1/ocsp
|
|
crl_expiry:
|
|
crl_renewal:
|
|
ocsp_expiry:
|
|
|
|
profiles:
|
|
test_server:
|
|
description: test server profile
|
|
expiry: 5m
|
|
backdate: 30m
|
|
usages:
|
|
- signing
|
|
- key encipherment
|
|
- server auth
|
|
- ipsec end system
|
|
allowed_extensions:
|
|
- 1.3.6.1.5.5.7.1.1 # AIA
|
|
- 2.5.29.17 # SAN
|
|
|
|
test_client:
|
|
description: test client profile
|
|
expiry: 5m
|
|
backdate: 30m
|
|
usages:
|
|
- signing
|
|
- key encipherment
|
|
- client auth
|
|
- ipsec user
|
|
allowed_extensions:
|
|
- 1.3.6.1.5.5.7.1.1 # AIA
|
|
- 2.5.29.17 # SAN
|
|
|
|
peer:
|
|
expiry: 168h
|
|
backdate: 30m
|
|
usages:
|
|
- signing
|
|
- key encipherment
|
|
- server auth
|
|
- client auth
|
|
- ipsec user
|
|
- ipsec end system
|
|
allowed_extensions:
|
|
- 1.3.6.1.5.5.7.1.1 # AIA
|
|
- 2.5.29.17 # SAN
|
|
|
|
server:
|
|
expiry: 168h
|
|
backdate: 30m
|
|
usages:
|
|
- signing
|
|
- key encipherment
|
|
- server auth
|
|
- ipsec end system
|
|
allowed_extensions:
|
|
- 1.3.6.1.5.5.7.1.1 # AIA
|
|
- 2.5.29.17 # SAN
|
|
|
|
client:
|
|
expiry: 168h
|
|
backdate: 30m
|
|
usages:
|
|
- signing
|
|
- key encipherment
|
|
- client auth
|
|
- ipsec user
|
|
allowed_extensions:
|
|
- 1.3.6.1.5.5.7.1.1 # AIA
|
|
- 2.5.29.17 # SAN
|
|
|
|
ocsp:
|
|
description: OCSP responder profile
|
|
expiry: 8760h
|
|
backdate: 30m
|
|
usages:
|
|
- digital signature
|
|
- ocsp signing
|
|
allowed_extensions:
|
|
- 1.3.6.1.5.5.7.1.1 # AIA
|
|
|
|
timestamp:
|
|
description: Timestamp certificate profile
|
|
expiry: 43070h
|
|
backdate: 30m
|
|
usages:
|
|
- digital signature
|
|
- timestamping
|
|
allowed_extensions:
|
|
- 2.5.29.37
|
|
|
|
codesign:
|
|
description: Codesigning certificate profile
|
|
expiry: 8760h
|
|
backdate: 30m
|
|
usages:
|
|
- digital signature
|
|
- code signing
|
|
- key encipherment
|
|
|
|
DELEGATED_L1_CA:
|
|
expiry: 43800h
|
|
backdate: 30m
|
|
usages:
|
|
- cert sign
|
|
# TODO: is CRL needed for Delegated?
|
|
ca_constraint:
|
|
is_ca: true
|
|
max_path_len: 1
|
|
policies_critical: true
|
|
policies:
|
|
- oid: 2.16.840.1.114569.1.1.3
|
|
allowed_extensions:
|
|
- 2.5.29.31
|
|
- 2.5.29.32
|