A newer version is available. For the latest information, see the
current release documentation.
Set TLS certificateedit
Creates or updates the TLS certificate chain.
Requestedit
POST /api/v1/platform/configuration/security/tls/{service_name}
Path parametersedit
Name | Type | Required | Description |
---|---|---|---|
|
|
Y |
The service certificate chain to read. |
Request bodyedit
(string
) (required) New certificate chain: the PEM encoded RSA private key, followed by the server certificate, followed by the CA certificate
Responsesedit
-
202
-
(
EmptyResponse
) The TLS update has been accepted for the given service and will take effect throughout the system -
449
-
(
BasicFailedReply
) elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.
Request exampleedit
curl -XPOST {{hostname}}/api/v1/platform/configuration/security/tls/{service_name} \ -u $CLOUD_USER:$CLOUD_KEY