Certificates

Dry run of an upload: parsed certificate, blocking problems, warnings and the hostnames it would serve. Nothing is stored

post/certificates/validate

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/certificates/validate
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Query parameters

orgIdstring

Organization id (required when you belong to several)

Request body

certificatePemstring required

PEM certificate; may also contain the chain after the leaf

chainPemstring

intermediate certificate(s), PEM

privateKeyPemstring required

unencrypted PEM private key (PKCS#8, PKCS#1 or SEC1); stored encrypted, never shown again

Response

Result

validboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.