{
  "id": "certificate",
  "title": "rladmin cluster certificate",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/references/cli-utilities/rladmin/cluster/certificate/",
  "summary": "Sets the cluster certificate.",
  "content": "\nSets a cluster certificate to a specified PEM file.\n\n```sh\nrladmin cluster certificate\n        set \u003ccertificate name\u003e\n        certificate_file \u003ccertificate filepath\u003e\n        [ key_file \u003ckey filepath\u003e ]\n```\n\nTo set a certificate for a specific service, use the corresponding certificate name. See the [certificates table]() for the list of cluster certificates and their descriptions.\n\n### Parameters\n\n| Parameter | Type/Value | Description |\n|-----------|------------|-------------|\n| certificate name | 'cm'\u003cbr /\u003e 'api'\u003cbr /\u003e 'proxy'\u003cbr /\u003e 'syncer'\u003cbr /\u003e 'metrics_exporter' | Name of the certificate to update |\n| certificate_file | filepath | Path to the certificate file |\n| key_file | filepath | Path to the key file (optional) |\n\n### Returns\n\nReports that the certificate was set to the specified file. Returns an error message if the certificate fails to update.\n\n### Example\n\n```sh\n$ rladmin cluster certificate set proxy \\\n       certificate_file /tmp/proxy.pem\nSet proxy certificate to contents of file /tmp/proxy.pem\n```\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

