v1/certificate

Enrollment with client generated keys, using CSR subject.

Enroll for a certificate given a PEM encoded PKCS#10 CSR. Response Format is 'DER' (default when excluded) or 'PKCS7' in base64 encoded PEM format

post/v1/certificate/pkcs10enroll

Request body

certificate_requeststring

Certificate request

certificate_profile_namestring

Certificate profile name

end_entity_profile_namestring

End Entity profile name

certificate_authority_namestring

Certificate Authority (CA) name

usernamestring

Username

passwordstring

Password

account_binding_idstring

Account Binding ID

include_chainboolean
emailstring

Email

response_formatstring

Response Format (DER format is default)

Example request

{
  "certificate_request": "MIICh...V8shQ== OR -----BEGIN CERTIFICATE REQUEST-----\nMIICh...V8shQ==\n-----END CERTIFICATE REQUEST-----",
  "certificate_profile_name": "ENDUSER",
  "end_entity_profile_name": "ExampleEEP",
  "certificate_authority_name": "ExampleCA",
  "username": "JohnDoe",
  "password": "foo123",
  "account_binding_id": "1234567890",
  "email": "john.doe@example.com",
  "response_format": "DER"
}

Response

Successful operation

certificatestring byte

Certificate

serial_numberstring

Hex Serial Number

response_formatstring

Response format

certificate_chainstring[]

CA Certificate chain

Example response

{
  "certificate": "TUlJRFh6Q0NBLi4uZVcxWnJvMD0=",
  "serial_number": "1234567890ABCDEF",
  "response_format": "DER",
  "certificate_chain": [
    "MII123efg...345xyz0="
  ]
}

Changes