Sign a custom certificate signing request
POST/tap/api/v3/admin/certificate/custom
Signs a PEM-encoded PKCS#10 certificate signing request and returns the signed certificate. Requires the admin role. Requires custom CSR signing to be enabled (the combine.tap.api.certificates.signCustomCSR.enable Configuration Value, default false). The CSR's signature must verify against its own public key. The public key does not have to be RSA, and the CSR may omit its attributes field. The certificate is issued by the deployment's signer certificate authority and is valid for two years. It has the CSR's subject and public key, the DNS names from the CSR's subject alternative name extension, client and server authentication extended key usage, and an OCSP responder URL when the OCSP responder is enabled. Its serial number is a random number from 1,000,000 to 1,999,999, which never identifies a TAP user account, so the certificate cannot be used to call the TAP API. Error responses are JSON.
Request
Responses
- 200
- 400
- 403
- 404
- 413
- 500
The signed certificate in PEM format.
The request body has no PEM object, its first PEM object is not a CERTIFICATE REQUEST or NEW CERTIFICATE REQUEST that can be parsed, or the CSR's signature does not verify against its own public key.
The caller does not have the admin role.
Custom CSR signing is not enabled.
The request body is longer than the combine.tap.api.certificates.signCustomCSR.byteLimit Configuration Value (default 65,536 characters).
The certificate signing request could not be signed.