PUT /api/v1/domains/{domainId}/certificate
Upserts (creates or renews) the MANUAL
certificate for the custom domain
Notes:
- If the existing
certificateSourceType
isOKTA_MANAGED
, this operation changes the source type toMANUAL
. Okta no longer manages and renews certificates for this domain after you provide a user-managed certificate.- Okta supports TLS certificates and private keys that are PEM-encoded and 2048, 3072, or 4096 bits. See the Custom domain guide for more details.
Servers
- https://{yourOktaDomain}
Path parameters
Name | Type | Required | Description |
---|---|---|---|
domainId |
String | Yes |
|
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
certificateChain |
String | Yes |
Certificate chain |
certificate |
String | Yes |
Certificate content |
type |
String | Yes |
Certificate type Possible values:
|
privateKey |
String | Yes |
Certificate private key |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.