Skip to main content
POST
/
cdn
/
resources
/
{resource_id}
/
ssl
/
le
/
pre-validate
Pre-validate CDN resource before issuing Let's Encrypt certificate
curl --request POST \
  --url https://api.gcore.com/cdn/resources/{resource_id}/ssl/le/pre-validate \
  --header 'Authorization: <api-key>'
{
  "errors": [
    "An error occurred when connecting to the validation URL. Please ensure that DNS records are pointed to our services, and check whether the rules you created overlap the path \"/.well-known/acme-challenge/\". If you have just created a CDN resource, it may take up to 15 minutes to activate it. In this case, please wait until the CDN resource is activated and try to issue the certificate again."
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

resource_id
integer
required

CDN resource ID.

Response

Successful.