Generate CSR
POST/v2/config/digital-wallet/openid/key-management/keys/:keyId/csr
Generates a Certificate Signing Request (CSR) for a specific key, allowing the key to be associated with a certificate from a Certificate Authority.
Request
Path Parameters
keyId stringrequired
Unique identifier of the key
- application/json
Body
commonName stringrequired
Common name (CN) for the certificate subject, typically the organisation or service name
organization stringrequired
Organisation (O) for the certificate subject
country stringrequired
Two-letter country code (C) for the certificate subject (e.g. SE, DE, US)
sanDns string[]
Subject Alternative Names (SAN) — DNS entries to include in the CSR
sanUri string[]
Subject Alternative Names (SAN) — URI entries to include in the CSR
Responses
- 200
- 401
- 500
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
csr string
PEM-encoded Certificate Signing Request (CSR) string
{
"csr": "string"
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integerrequired
errorDescription stringrequired
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Loading...