The Sectigo Client SDK is a set of tools that allow you to communicate with APIs from the Sectigo Certificate Manager (SCM) through your own custom application. The SDK exposes several endpoints that provide a solution for the enrollment, collection, renewal, replacement, and revocation of SSL/TLS and client certificates issued by SCM.

The SDK is distributed as a Golang library featuring the following:

  • RSA (2048, 3072, and 4096) or ECDSA (P-256, P-384, and P-521) private key generation

  • Certificate signing request (CSR)

  • Unmanaged function endpoints which communicate with specific SCM APIs and return JSON responses:

    • EnrollCertificate, CollectCertificate, RenewCertificate, ReplaceCertificate, RevokeCertificate, and CollectProfiles

  • Managed function endpoints which provision communications with SCM and provide means for storing and managing certificate-related files locally:

    • RequestManagedCertificate and ReplaceManagedCertificate

Sectigo Golang integration

Package contents

The Sectigo Client SDK for Golang contains the following:

  • sectigo-gocert:

    • *.go: A set of .go files that form the Golang Client SDK

    • go.mod: The SDK’s module path and its dependency requirements

  • sample:

    • sample.go: Sample code that demonstrates end-to-end examples of EnrollCertificate, CollectCertificate, and RequestManagedCertificate for SSL and client certificates

    • go.mod: The sample’s module path and its dependency requirements

Golang Sectigo integration package