Skip to main content

Validity

Defines certificate validity period within a specified time range or as a specific expiration date. Includes two options:

  • Validity within a specified time range

  • Validity as a specific expiration date

Validity within a specified time range

Define the minimum and maximum validity period for the certificate.

Example JSON

  "validity": {
    "min_duration": {
      "value": 1,
      "unit": "days"
    },
    "max_duration": {
      "value": 10,
      "unit": "years"
    }
  }

Parameters

Name

Type

Req/Opt

Description

validity

object

required

Certificate validity details.

min_duration

object

required

Indicates minimum certificate validity.

max_duration

object

required

Indicates maximum certificate validity.

unit

string

required

Unit of time for certificate validity duration. Possible values:

  • minutes

  • hours

  • days

  • months

  • years

.. .. value

integer

required

Duration time in specified units.

Validity as a specific expiration date

Define the validity period as an exact expiration date and time.

Example JSON

"validity": {
    "expiration_date": {
      "value": "9999-12-31T23:59:59Z"
    }
}

Parameters

Name

Type

Req/Opt

Description

validity

object

required

Certificate validity details.

expiration_date

object

required

Indicates certificate expires on a specific date.

value

string

required

Expiration date and time.