Add cfssl configs for dev PKI

master
q3k 2018-08-27 21:10:20 +01:00
parent b27d528d69
commit 0ca40feb95
5 changed files with 48 additions and 1 deletions

1
pki/.gitignore vendored
View File

@ -1,3 +1,2 @@
*csr
*pem
*json

13
pki/ca_config.json Normal file
View 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
View 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
View 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
View 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"
}
]
}