Skip to main content

Check the replacement of a Certificate

POST/certificates/{certificateId}/actions/check-replace-certificate/
v2
POST
ssl-check-replace-certificate

Checks the replacement of a Certificate and shows differences between the current and the new Certificate.

Request

  • certificateIdstring (uuid)
    required

Responses

application/json

OK

  • changesobject
    • commonNameobject
      • newValuestring
        required
      • oldValuestring
        required
    • dnsNamesobject
      • addedValuesarray of string
        required
        • Array[
        • *string
        • ]
    • removedValuesarray of string
      required
      • Array[
      • *string
      • ]
  • valuesarray of string
    required
    • Array[
    • *string
    • ]
  • issuerobject
    • newValuestring
      required
    • oldValuestring
      required
  • validFromobject
    • newValuestring (date-time)
      required
    • oldValuestring (date-time)
      required
  • validToobject
    • newValuestring (date-time)
      required
    • oldValuestring (date-time)
      required
  • errorsarray of object
    • Array[
    • *object
      • messageone of 18 alternatives
        required
    • ]
  • isReplaceableboolean
    required
  • Usage examples

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