Skip to main content

Subject order

Subject order defines the order of the subject attributes in the certificate.

Example JSON: Subject order

{
  ...
  "subject": {
    "subject_order": [
      "common_name",
      "country",
      "description",
      "domain_component",
      "email",
      "locality",
      "organization_name",
      "organization_unit",
      "postal_code",
      "serial_number",
      "state",
      "street_address",
      "unique_identifier",
      "unstructured_address",
      "unstructured_name"
    ]
  }
}

Parameters: Subject order

Name

Type

Req/Opt

Description

subject_order

array of strings

optional

Define the order that the subject attributes appear in the certificate.

Possible values:

  • common_name

  • country

  • description

  • domain_component

  • email

  • locality

  • organization_name

  • organization_unit

  • postal_code

  • serial_number

  • state

  • street_address

  • unique_identifier

  • unstructured_address

  • unstructured_name