Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memperbarui certificate authority
Halaman ini menjelaskan cara memperbarui konfigurasi untuk otoritas
sertifikat (CA).
Memperbarui label pada CA
Konsol
Di Google Cloud console, buka halaman Certificate authorities.
Buka Certificate authorities
Di bagian Certificate authorities, pilih CA target Anda.
- Di bagian Ringkasan, klik Edit.
- Klik Tambahkan label.
- Di panel di sisi kanan, klik Tambahkan Item.
- Tambahkan Kunci dan Nilai untuk label Anda.
- Klik Simpan.
gcloud
gcloud privateca roots update CA_NAME --location LOCATION --pool POOL_NAME --update-labels foo=bar
Dengan keterangan:
- CA_NAME: ID unik CA.
- LOCATION: lokasi otoritas sertifikasi.
- POOL_NAME: ID unik kumpulan CA.
- Flag
--update-labels
menyebutkan key-value pair yang akan diperbarui.
Untuk informasi selengkapnya tentang perintah gcloud privateca roots update
, lihat
gcloud privateca roots
update.
Langkah berikutnya
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-12 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-12 UTC."],[[["\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)."]]