使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
更新证书授权机构
本页介绍了如何更新证书颁发机构 (CA) 的配置。
更新 CA 上的标签
控制台
在 Google Cloud 控制台中,前往证书颁发机构页面。
前往“证书授权机构”页面
在证书授权机构下,选择您的目标 CA。
- 在摘要部分,点击修改。
- 点击添加标签。
- 在右侧面板中,点击添加内容。
- 为标签添加键和值。
- 点击保存。
gcloud
gcloud privateca roots update CA_NAME --location LOCATION --pool POOL_NAME --update-labels foo=bar
其中:
- CA_NAME:CA 的唯一标识符。
- LOCATION:证书颁发机构的位置。
- POOL_NAME:CA 池的唯一标识符。
--update-labels
标志提及要更新的键值对。
如需详细了解 gcloud privateca roots update
命令,请参阅 gcloud privateca roots update。
后续步骤
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-12。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-12。"],[[["\u003cp\u003eThis guide explains the process of updating the configuration for a certificate authority (CA).\u003c/p\u003e\n"],["\u003cp\u003eYou can update labels on a CA through the Google Cloud console by navigating to the Certificate authorities page, selecting your target CA, and editing the labels in the Summary section.\u003c/p\u003e\n"],["\u003cp\u003eThe gcloud command \u003ccode\u003egcloud privateca roots update\u003c/code\u003e can be used to update labels on a CA, specifying the CA name, location, pool name, and key-value pairs for the updated labels.\u003c/p\u003e\n"],["\u003cp\u003eThe required parameters for the \u003ccode\u003egcloud\u003c/code\u003e command include the CA's unique identifier (\u003ccode\u003eCA_NAME\u003c/code\u003e), its location (\u003ccode\u003eLOCATION\u003c/code\u003e), the CA pool's identifier (\u003ccode\u003ePOOL_NAME\u003c/code\u003e), and the \u003ccode\u003e--update-labels\u003c/code\u003e flag.\u003c/p\u003e\n"]]],[],null,["# Update certificate authorities\n==============================\n\nThis page explains how you can update the configuration for a certificate\nauthority (CA).\n\nUpdate labels on a CA\n---------------------\n\n### Console\n\n1. In the Google Cloud console, go to the **Certificate authorities** page.\n\n [Go to Certificate authorities](https://console.cloud.google.com/security/cas/certificateAuthorities)\n2. Under **Certificate authorities**, pick your target CA.\n\n 1. In the **Summary** section, click **Edit**.\n 2. Click **Add labels**.\n 3. In the panel on the right side, click **Add Item**.\n 4. Add the **Key** and **Value** for your label.\n 5. Click **Save**.\n\n### gcloud\n\n gcloud privateca roots update \u003cvar translate=\"no\"\u003eCA_NAME\u003c/var\u003e --location \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e --pool \u003cvar translate=\"no\"\u003ePOOL_NAME\u003c/var\u003e --update-labels foo=bar\n\nWhere:\n\n- \u003cvar translate=\"no\"\u003eCA_NAME\u003c/var\u003e: the unique identifier of the CA.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the certificate authority.\n- \u003cvar translate=\"no\"\u003ePOOL_NAME\u003c/var\u003e: the unique identifier of the CA pool.\n- `--update-labels` flag mentions the key-value pairs to update.\n\nFor more information about the `gcloud privateca roots update` command, see\n[gcloud privateca roots\nupdate](/sdk/gcloud/reference/privateca/roots/update).\n\nWhat's next\n-----------\n\n- Learn how to [manage the CA state](/certificate-authority-service/docs/managing-ca-state).\n- Learn how to [delete CAs](/certificate-authority-service/docs/deleting-certificate-authorities)."]]