Validity
The validity allows you to define the certificate validity: as a range with minimal and maximum values or as an expiration date.
JSON structure example
{
"validity": {
"min_duration": {
"unit": "days",
"value": 10
},
"max_duration": {
"unit": "years",
"value": 5
},
"default_duration": {
"unit": "years",
"value": 5
},
"start_date": {
"allow_start_date_in_past": true,
"max_duration_in_past": {
"unit": "minutes",
"value": 10
}
}
}
}"validity": {
"expiration_date": {
"value": "9999-12-31T23:59:59Z"
}
}Parameters
Name | Type | Required/optional | Possible values |
|---|---|---|---|
| Object | Required (range validity only) | - |
| Integer | Required | Specifies the duration value. Must be a positive integer |
| String | Required | Specifies the duration unit. Supported values include:
|
| Object | Required (range validity only) | - |
| Integer | Integer | Specifies the duration value. Must be a positive integer. |
| String | Required | Specifies the duration unit. Supported values include:
|
| Object | Required (range validity only) | - |
| Integer | Required | Specifies the duration value. Must be a positive integer |
| String | Required | Specifies the duration unit. Supported values include:
|
| Object | Required (maximum expiration date validity only) | Specifies the latest date and time at which issued certificates can expire |
| String | Required | Specifies the expiration date or date and time. Supported formats include:
|
| Object | Optional | Configures whether certificates can be issued with a start date in the past |
| Boolean | Optional | Specifies whether certificate issuance requests can use a start date in the past. Supported values include:
|
| Object | Required (when | Specifies the maximum amount of time before the current date and time that a certificate start date can be set |
| Integer | Required | Specifies the duration value. Must be a positive integer |
| String | Required | Specifies the duration unit. Supported values include:
|