Skip to main content

Generate a certificate

POST 

/certificates

Generate a new certificate.

Request

Body

Created

    oneOf
    folder stringrequired

    Possible values: <= 64 characters, Value must match regular expression ^[a-zA-Z\d-_\. ]+$

    The folder in which the resource is defined

    algorithm object required

    Encryption algorithm

    oneOf
    rsa_number_of_bits required

    Possible values: [512, 1024, 2048, 3072, 4096]

    alternate_email string[]

    Alternate email

    certificate_name stringrequired

    Possible values: non-empty

    Certificate name

    common_name stringrequired

    Possible values: non-empty

    Common name

    country_code string

    Country code

    day_till_expiration integer

    Expiration (days)

    department string[]

    Department

    digest required

    Possible values: [sha1, sha256, sha384, sha512, md5]

    Hash algorithm

    email email

    Possible values: <= 255 characters

    Email

    hostname hostname[]

    Possible values: non-empty and <= 64 characters

    Hostname

    ip string[]

    Possible values: non-empty and <= 64 characters

    IP address

    is_block_privateKey boolean

    Block private key export?

    is_certificate_authority boolean

    Certificate authority certificate?

    locality string

    Possible values: <= 64 characters

    Locality

    ocsp_responder_url string

    Possible values: <= 64 characters

    OCSP responder URL

    signed_by stringrequired

    Possible values: <= 64 characters

    Signed by

    state string

    Possible values: <= 32 characters

    State

Responses

Created

Loading...