Generate a new keypair and certificate, and get the private key file Generates a keypair and certificate and serves the private key in a specified keystore format.

POST {{baseUrl}}/:realm/clients/:id/certificates/:attr/generate-and-download

Request Body

{"format"=>"reprehenderit", "keyAlias"=>"enim", "keyPassword"=>"nostrud enim consectetur", "realmAlias"=>"ea", "realmCertificate"=>true, "storePassword"=>"ex sint occaecat"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

"consequat incididunt dolor pariatur"