Skip to main content
PUT
Upload the signing certificate (.p12)

Authorizations

Authorization
string
header
required

Send your Cufea API key as Authorization: Bearer <key>.

Path Parameters

stage
enum<string>
required

The stage the certificate signs for.

Available options:
test,
production

Body

application/json

A PKCS#12 (.p12/.pfx) bundle and its password. Neither is stored or returned.

p12_base64
string
required

The .p12/.pfx file, base64-encoded (standard alphabet; line breaks are ignored). At most 64 KB decoded.

Required string length: 1 - 90000
password
string<password>
required
write-only

The bundle's password (empty for a bundle without one). Used to open the bundle in memory only: never stored, logged or returned.

Maximum string length: 1024

Response

Successful Response

Public metadata of a stored signing certificate: never key or certificate material.

fingerprint_sha256
string
required

SHA-256 fingerprint, colon-separated hex.

identifier
string | null
required

The holder's id read from the subject (serialNumber or the CA's NIT attribute); null when the subject carries none.

nit_mismatch
boolean
required

A warning, not an error: the subject does not carry the issuer's NIT (for example the certificate of a legal representative). False without an issuer.

not_after
string<date-time>
required
not_before
string<date-time>
required
serial_number
string
required

Certificate serial number, hexadecimal.

stage
enum<string>
required
Available options:
test,
production
subject
string
required

The certificate subject (RFC 4514).