v1/certificate
Enrollment with client generated keys for an existing End Entity
Changed onEnroll for a certificate given a PEM encoded PUBLICKEY, PKCS10, CRMF, SPKAC, or CVC.
post/v1/certificate/certificaterequest
Request
- Base URL/ejbca/ejbca-rest-api (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
- TypeScripthttps://skmtc.dev/keyfactor/apis/ejbca-rest-interface/docs/v1/certificate/certificaterequest/post.tsA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"certificate_request": "MIICh...V8shQ== OR -----BEGIN CERTIFICATE REQUEST-----\nMIICh...V8shQ==\n-----END CERTIFICATE REQUEST-----",
"username": "JohnDoe",
"password": "foo123",
"certificate_authority_name": "ExampleCA",
"certificate_request_type": "PUBLICKEY, PKCS10, CRMF, SPKAC, or CVC"
}Response
Successful operation
Example response
{
"certificate": "TUlJRFh6Q0NBLi4uZVcxWnJvMD0=",
"serial_number": "1234567890ABCDEF",
"response_format": "DER",
"certificate_chain": [
"MII123efg...345xyz0="
]
}Changes
- breaking
removed the success response with the status
- info
added the new optional request property
- info
added the success response with the status
- breaking
- breaking
removed the success response with the status
- warning
removed the request property
- info
added the success response with the status
- breaking