certification-services

add a new certification service

Changed on
<h3>CS administrator adds a certification service to the list of approved certification services.</h3>
post/certification-services

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/certification-services
  • Auth: API key in header Authorization

Response

created item

idinteger required

unique identifier

namestring text

certification service name

issuer_distinguished_namestring text

certificate issuer distinguished name

subject_distinguished_namestring text

certificate subject distinguished name

not_afterstring date-time

certificate validity not after

not_beforestring date-time

certificate validity not before

certificate_profile_infostring text required

fully qualified class name that implements the ee.ria.xroad.common.certificateprofile.CertificateProfileInfoProvider interface

tls_authboolean required

can the CA be used for TLS authentication

default_csr_format'PEM' | 'DER' enum

CSR format

acme_server_directory_urlstring url
acme_server_ip_addressstring text
authentication_certificate_profile_idstring text
signing_certificate_profile_idstring text

Example response

{
  "id": 123,
  "name": "Name",
  "issuer_distinguished_name": "issuer123",
  "subject_distinguished_name": "subject123",
  "not_after": "2022-01-17T00:00:00.001Z",
  "not_before": "2022-01-17T00:00:00.001Z",
  "certificate_profile_info": "ee.ria.xroad.common.certificateprofile.impl.FiVRKCertificateProfileInfoProvider",
  "default_csr_format": "PEM"
}

Changes

    • ○

      the request property //// became optional

    • ▲

      the request property //// became required