JOC API

Version 2.6.5

Download RAML
JOC API
/profile/key/generate
POST

generates and stores a new private key (only for SecurityLevel LOW and MEDIUM)


Parameters in the POST body schema

Name Type Description Example Default
validUntil optional, date Expiration Date of the Certificate 2024-12-31T12:00:00Z
keyAlgorithm required, string Type of the Key Algorithm: PGP, RSA or ECDSA
{
"keyAlgorithm" : "ECDSA"
}
ECDSA
dn optional, string Distinguished Name (DN) for the keys certificate. CN=MyTestAccountName, OU=Development, O=SOS-Berlin, ST=Berlin, L=Berlin, C=DE
useSslCa optional, boolean In general the published CA certificate for the Signature Key Management is used for signature validation only. This property determines if the CA in the SSL Key Management, which is used to generate auth keys and certificates, should also be used for the key and certificate generation in the Signature Key Management.
  • Not available for keyAlgorithm PGP (private/public key only). Only usable with RSA and ECDSA (private key/X509 certificate).
  • If set to true:
    • Requires that a CA is already configured for the SSL Key Management.
    • Creates a private key for the account and a CA signed certificate.
    • Replaces an already uploaded CA certificate for signature validation in the Signature Key Management with the certificate of the existing SSL Key Management CA.
  • If set to false:
    • The CA in the Signature Key Management will be used for signature validation only.
    • Creates a private key for the account and a self signed certificate.
false
auditLog optional, object Object that contains comment, timeSpent and ticketLink.
{
  "comment": "Operational requirement!",
  "timeSpent": 2
}
comment optional, string Field in auditLog to comment this action, e.g. the reason.
timeSpent optional, integer Field in auditLog to enter the time spent in minutes.
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.