Skip to main content

Create a CertificateRequest

POST/certificate-requests/
v2
POST
ssl-create-certificate-request

Request

Responses

application/json

Created

  • commonNamestring
  • contactobject
    required
    • citystring
    • companystring
    • countrystring

      Two letter abbreviation - country code (ISO 3166-1 Alpha-2).

    • organizationalUnitstring
    • statestring
  • dnsNamesarray of string
    • Array[
    • *string
    • ]
  • idstring (uuid)
    required
  • issuerstring
  • signingRequeststring
  • validFromstring (date-time)
  • validTostring (date-time)
  • Usage examples

    $ curl \
    --fail \
    --location \
    -X POST \
    -d '{"certificate":"string","privateKey":"string","projectId":"f0f86186-0a5a-45b2-aa33-502777496347"}' \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    -H 'Content-Type: application/json' \
    https://api.mittwald.de/v2/certificate-requests