Skip to content
Start here

Origin CA Certificates

List Certificates
client.OriginCACertificates.List(ctx, query) (*V4PagePaginationArray[OriginCACertificate], error)
GET/certificates
Get Certificate
client.OriginCACertificates.Get(ctx, certificateID) (*OriginCACertificate, error)
GET/certificates/{certificate_id}
Create Certificate
client.OriginCACertificates.New(ctx, body) (*OriginCACertificate, error)
POST/certificates
Revoke Certificate
client.OriginCACertificates.Delete(ctx, certificateID) (*OriginCACertificateDeleteResponse, error)
DELETE/certificates/{certificate_id}
ModelsExpand Collapse
type OriginCACertificate struct{…}
Csr string

The Certificate Signing Request (CSR). Must be newline-encoded.

Hostnames []string

Array of hostnames or wildcard names bound to the certificate. Hostnames must be fully qualified domain names (FQDNs) belonging to zones on your account (e.g., example.com or sub.example.com). Wildcards are supported only as a *. prefix for a single level (e.g., *.example.com). Double wildcards (*.*.example.com) and interior wildcards (foo.*.example.com) are not allowed. The wildcard suffix must be a multi-label domain (*.example.com is valid, but *.com is not). Unicode/IDN hostnames are accepted and automatically converted to punycode.

Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa), or "keyless-certificate" (for Keyless SSL servers).

RequestedValidity RequestValidity

The number of days for which the certificate should be valid.

ID stringoptional

Identifier.

maxLength32
Certificate stringoptional

The Origin CA certificate. Will be newline-encoded.

ExpiresOn stringoptional

When the certificate will expire.