CA certificates
Add trusted CA certificate
Changed onAdd a trusted CA certificate to verify an origin.
Enter all strings of the certificate in one string parameter. Each string should be separated by the "\n" symbol.
post/cdn/sslCertificates
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/cdn/sslCertificates
- AuthHTTP apikey
Request body
Example request
{
"name": "Example CA cert",
"sslCertificate": "-----BEGIN CERTIFICATE-----\nMIIBbTCCARKgAwIBAgIULDeBmErpf2HbicPq8M/WK6fUZxEwCgYIKoZIzj0EAwIw\nKjETMBEGA1UECgwKRXhhbXBsZSBDQTETMBEGA1UEAwwKRXhhbXBsZSBDQTAeFw0y\nNjAxMDEwMDAwMDBaFw0zNjAxMDEwMDAwMDBaMCoxEzARBgNVBAoMCkV4YW1wbGUg\nQ0ExEzARBgNVBAMMCkV4YW1wbGUgQ0EwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC\nAATdtaj2FA1AUBTNxVPfCeuuJWY6D1SQTtCNT3vbakavfJu+QISYQcc0Tbtudl5s\nv6mQPTiVlKOzi5NSWYn9F8YwoxYwFDASBgNVHRMBAf8ECDAGAQH/AgEAMAoGCCqG\nSM49BAMCA0kAMEYCIQD4GWDCyoYDx48b49W/R6ox5K2Dx37otAqQCSeB96moHAIh\nAKAUFyIRFL4HQ1Y3jEELs8TvC2554gcPQKitr0S0wM1g\n-----END CERTIFICATE-----\n"
}Response
Successful.
Example response
{
"id": 1,
"name": "Example CA certificate",
"cert_issuer": "Example CA",
"cert_subject_cn": "Example CA",
"validity_not_before": "2026-01-01T00:00:00Z",
"validity_not_after": "2036-01-01T00:00:00Z"
}Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
response property
deleteddeprecated
- breaking