CertManagerResource Resource

POST /certs/generateCertificate

Exchange a cert request token for a certificate. The token must be a valid token generated by the certmanager utility. The resulting certificate will containin a TLS certificate in JKS and PEM formats. It might optionally contain a private key in JKS and PEM format, corresponding to the certificate. The tar file is designed to be consumed by the "cm install_certs" command to install TLS certificates on a Cloudera Manager agent host.

Request Body
media type data type
application/json ApiCertificateRequest (JSON)
Response Body
media type data type description
application/octet-stream (custom) tar file containing TLS certificate

GET /certs/truststore

Gets the Auto-TLS truststore contents

Request Parameters
name type description default
type query truststore type. Must be "JKS" or "PEM". n/a
Response Body
media type data type description
application/octet-stream (custom) truststore file contents

GET /certs/truststorePassword

Gets the configured CM truststore password

Response Body
media type data type description
text/plain (custom) truststore password