Install or generate a TLS certificate
POST/api/admin/settings/tls
Performs a certificate operation, chosen by the action field. Admin only; unauthorized-but-authenticated attempts are recorded as a security event. Cert bodies and keys are accepted in the request but never echoed back or logged.
Request
Responses
- 200
- 400
- 403
- 500
The resulting certificate metadata (plus csr for generate-csr).
Invalid JSON, or the certificate/key was rejected by validation.
Caller is not an admin.
The certificate operation failed.