IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Set TLS certificate
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Set TLS certificate
editCreates or updates the TLS certificate chain.
Request
editPOST /api/v1/platform/configuration/security/tls/{service_name}
Path parameters
edit| Name | Type | Required | Description |
|---|---|---|---|
|
|
Y |
The service certificate chain to read. |
Request body
edit(string) (required) New certificate chain: the PEM encoded RSA private key, followed by the server certificate, followed by the CA certificate
Responses
edit-
202 -
The TLS update has been accepted for the given service and will take effect throughout the system
-
449 -
elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')
Request example
editcurl -XPOST https://{{hostname}}/api/v1/platform/configuration/security/tls/{service_name} \
-H "Authorization: ApiKey $ECE_API_KEY"