Working config.json

Minor improvement to config.json to let anchor start up

Change-Id: I23e5a0a68f9845b78bc6d3155c2413e8f816a1d2
This commit is contained in:
Doug Chivers 2015-09-01 16:48:17 -07:00
parent c457c4bcd6
commit b3a56b0747
1 changed files with 16 additions and 49 deletions

65
config.json Executable file → Normal file
View File

@ -1,64 +1,31 @@
{
"auth": {
"static": {
"authentication": {
"method_1": {
"backend": "static",
"secret": "simplepassword",
"user": "myusername"
}
},
"ca": {
"cert_path": "CA/root-ca.crt",
"key_path": "CA/root-ca-unwrapped.key",
"output_path": "certs",
"signing_hash": "sha256",
"valid_hours": 24
"signing_ca": {
"local": {
"backend": "anchor",
"cert_path": "CA/root-ca.crt",
"key_path": "CA/root-ca-unwrapped.key",
"output_path": "certs",
"signing_hash": "sha256",
"valid_hours": 24
}
},
"instances": {
"registration_authority": {
"default": {
"authentication": "method_1",
"signing_ca": "local",
"validators": {
"common_name" : {
"allowed_domains": [
".example.com"
]
},
"alternative_names": {
"allowed_domains": [
".example.com"
]
},
"server_group": {
"group_prefixes": {
"bk": "Bock_Team",
"cs": "CS_Team",
"gl": "Glance_Team",
"mb": "MB_Team",
"nv": "Nova_Team",
"ops": "SysEng_Team",
"qu": "Neutron_Team",
"sw": "Swift_Team"
}
},
"extensions": {
"allowed_extensions": [
"keyUsage",
"subjectAltName",
"basicConstraints",
"subjectKeyIdentifier"
]
},
"key_usage": {
"allowed_usage": [
"Digital Signature",
"Key Encipherment",
"Non Repudiation"
]
},
"ca_status": {
"ca_requested": false
},
"source_cidrs": {
"cidrs": [
"127.0.0.0/8"
]
"cidrs": ["127.0.0.0/8"]
}
}
}