Set TLS certificate

Creates or updates an existing TLS certificate chain.


POST /api/v1/platform/configuration/security/tls/{service_name}

Path Parameters

service_name (required)
(string; allowed values: [adminconsole, proxy, ui]) The service certificate chain to update, one of adminconsole, proxy, ui

Request body

(string) (required) New certificate chain: the PEM encoded RSA private key, followed by the server certificate, followed by the CA certificate


(EmptyResponse) The TLS update has been accepted for the given service and will take effect throughout the system
(BasicFailedReply) When running as an administrator (other than root), sudo is required (code: 'root.needs_sudo')