Created
December 1, 2021 11:01
-
-
Save cl0ne/3f7cde451e24cdf0f25b35f6f03d7857 to your computer and use it in GitHub Desktop.
CFSSL JSON Schemas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"CN": "dev/cl0ne/CA", | |
"key": { | |
"algo": "ecdsa", | |
"size": 384 | |
}, | |
"names": [ | |
{ | |
"C": "UA", | |
"L": "Kyiv", | |
"O": "Datacenter Volia", | |
"OU": "dev/cl0ne/CA" | |
} | |
], | |
"CA": { | |
"expiry": "43800h" | |
}, | |
"type": "object", | |
"properties": { | |
"CN": { | |
"type": "string" | |
}, | |
"names": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/name" | |
} | |
}, | |
"hosts": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
}, | |
"key": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/key-request" | |
} | |
}, | |
"ca": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/ca-config" | |
} | |
}, | |
"serialnumber": { | |
"type": "string" | |
}, | |
"delegation_enabled": { | |
"type": "boolean" | |
}, | |
"extensions": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/pkix-extension" | |
} | |
}, | |
"crl_url": { | |
"type": "string" | |
} | |
}, | |
"$defs": { | |
"name": { | |
"title": "Tariff plan property", | |
"type": "object", | |
"properties": { | |
"C": { | |
"type": "string" | |
}, | |
"ST": { | |
"type": "string" | |
}, | |
"L": { | |
"type": "string" | |
}, | |
"O": { | |
"type": "string" | |
}, | |
"OU": { | |
"type": "string" | |
}, | |
"E": { | |
"type": "string" | |
}, | |
"SerialNumber": { | |
"type": "string" | |
}, | |
"OID": { | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/$defs/oid" | |
} | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"key-request": { | |
"type": "object", | |
"properties": { | |
"algo": { | |
"type": "string", | |
"default": "rsa", | |
"enum": ["rsa", "ecdsa"] | |
}, | |
"size": { | |
"type": "integer", | |
"default": 2048 | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"ca-config": { | |
"type": "object", | |
"properties": { | |
"expiry": { | |
"type": "string" | |
}, | |
"pathlen": { | |
"type": "string" | |
}, | |
"pathlenzero": { | |
"type": "string" | |
}, | |
"backdate": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"pkix-extension": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"$ref": "#/$defs/oid" | |
}, | |
"critical": { | |
"type": "boolean" | |
}, | |
"value": { | |
"type": "string" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"oid": { | |
"type": "string", | |
"pattern": "^\\d+(\\.\\d+)*$" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment