Intermediate CA certificate template
Example:
{
"key_gen": {
"enabled": true,
"key_type": {
"allowed_types": [
"rsa",
"ecdsa",
"Ed25519"
],
"default_key_type":"rsa"
},
"rsa_key_size": {
"min_bits": 2048,
"max_bits": 4096,
"default_bits": 2048
},
"ecdsa_curve": {
"allowed_curves": [
"P-256",
"P-384",
"P-521"
],
"default_curve":"P-256"
}
},
"issue_types": [
"client_authentication",
"server_authentication",
"private_smime"
],
"signature_algorithm": {
"allowed_algorithms": [
"sha1WithRSA",
"sha256WithRSA",
"sha384WithRSA",
"sha512WithRSA",
"sha256WithECDSA",
"sha384WithECDSA",
"sha512WithECDSA",
"match_issuer"
],
"default_algorithm": "match_issuer"
},
"subject": {
"attributes": [
{
"type": "common_name",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "organization_name",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "organization_unit",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "street_address",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "postal_code",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "locality",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "state",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "country",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
}
]
},
"extensions": {
"extended_key_usage": {
"critical": false,
"required_usages": [
{
"oid": "server_authentication",
"name": ""
}
],
"optional_usages": [
{
"oid": "client_authentication",
"name": ""
}
]
},
"san": {
"critical": false,
"dns_name": {
"include": "no",
"auto_include_cn": "no",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
}
},
"basic_constraints": {
"ca": true
}
},
"renewal_settings": {
"renew_valid_cert": "anytime",
"renew_expired_cert": "anytime",
"renew_revoked_cert": false,
"renewal_key_pair": "optional",
"allow_override_renewal_key_pair": true
},
"serial_number_size": 20,
"validity": {
"min_duration": {
"value": 1,
"unit": "years"
},
"max_duration": {
"value": 10,
"unit": "years"
},
"default_duration": {
"value": 1,
"unit": "years"
}
}
}