forked from hswaw/hscloud
Add cfssl configs for dev PKI
This commit is contained in:
parent
b27d528d69
commit
0ca40feb95
5 changed files with 48 additions and 1 deletions
1
pki/.gitignore
vendored
1
pki/.gitignore
vendored
|
@ -1,3 +1,2 @@
|
|||
*csr
|
||||
*pem
|
||||
*json
|
||||
|
|
13
pki/ca_config.json
Normal file
13
pki/ca_config.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"signing": {
|
||||
"default": {
|
||||
"expiry": "8760h"
|
||||
},
|
||||
"profiles": {
|
||||
"test": {
|
||||
"usages": ["signing", "key encipherment", "server auth", "client auth"],
|
||||
"expiry": "8760h"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
11
pki/ca_csr.json
Normal file
11
pki/ca_csr.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"names": [
|
||||
{
|
||||
"C": "US",
|
||||
"L": "San Francisco",
|
||||
"O": "Internet Widgets, Inc.",
|
||||
"OU": "WWW",
|
||||
"ST": "California"
|
||||
}
|
||||
]
|
||||
}
|
12
pki/client_csr.json
Normal file
12
pki/client_csr.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"CN": "developer.humans.svc.cluster.local",
|
||||
"names": [
|
||||
{
|
||||
"C": "US",
|
||||
"L": "San Francisco",
|
||||
"O": "Internet Widgets, Inc.",
|
||||
"OU": "WWW",
|
||||
"ST": "California"
|
||||
}
|
||||
]
|
||||
}
|
12
pki/service_csr.json
Normal file
12
pki/service_csr.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"CN": "test.arista-proxy.svc.cluster.local",
|
||||
"names": [
|
||||
{
|
||||
"C": "US",
|
||||
"L": "San Francisco",
|
||||
"O": "Internet Widgets, Inc.",
|
||||
"OU": "WWW",
|
||||
"ST": "California"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue