Halaman ini ditujukan untuk administrator dan Operator IT yang mengelola siklus proses infrastruktur teknologi yang mendasarinya. Untuk mempelajari lebih lanjut peran umum dan contoh tugas yang kami referensikan dalam konten, lihat Peran dan tugas pengguna GKE umum. Google Cloud
Dalam situasi tertentu, Anda harus memasukkan alamat IP, dan dalam situasi lain, Anda
harus memasukkan nama host. Dan dalam beberapa kasus, hal itu tidak menjadi masalah. Anda dapat menentukan
nilai yang sesuai dengan memeriksa sertifikat penayangan server vCenter.
Download sertifikat penayangan server vCenter Anda, lalu simpan ke file
bernama vcenter.pem:
Ganti VCENTER_IP dengan alamat IP
vCenter Server Anda.
Buka file sertifikat untuk melihat Nama Umum Subjek dan Nama Alternatif Subjek:
openssl x509 -in vcenter.pem -text -noout
Output menampilkan Nama Umum (CN) Subjek. Ini bisa berupa alamat IP, atau
bisa berupa nama host. Contoh:
Subject: ... CN = 203.0.113.100
Subject: ... CN = my-host.my-domain.example
Output juga dapat menyertakan satu atau beberapa nama DNS di bagian
Subject Alternative Name:
X509v3 Subject Alternative Name:
DNS:vcenter.my-domain.example
Pilih Nama Umum Subjek atau salah satu nama DNS di bagian
Subject Alternative Name untuk digunakan sebagai nilai alamat server vCenter
dalam file konfigurasi Anda. Contoh:
[[["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-09-04 UTC."],[],[],null,["This document shows how to determine the value you should enter for\nyour vCenter server address in a Google Distributed Cloud\n[admin workstation configuration file](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/admin-workstation-configuration-file)\nor an\n[admin cluster configuration file](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/admin-cluster-configuration-file-latest).\nIn some cases, you might also want to to enter this value in a\n[user cluster configuration file](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/user-cluster-configuration-file-latest).\n\nThis page is for IT administrators and Operators who manage the\nlifecycle of the underlying tech infrastructure. To learn more about common\nroles and example tasks that we reference in Google Cloud content, see\n[Common GKE user roles and tasks](/kubernetes-engine/enterprise/docs/concepts/roles-tasks).\n\nIn certain situations you must enter an IP address, and in other situations you\nmust enter a hostname. And in some cases, it doesn't matter. You can determine\nthe appropriate value by inspecting the serving certificate of your vCenter\nserver.\n\nDownload the serving certificate of your vCenter server, and save it to a file\nnamed `vcenter.pem`:\n\n```\ntrue | openssl s_client -connect VCENTER_IP:443 -showcerts 2\u003e/dev/null | sed -ne '/-BEGIN/,/-END/p' \u003e vcenter.pem\n```\n\nReplace \u003cvar translate=\"no\"\u003eVCENTER_IP\u003c/var\u003e with the IP address of your\nvCenter Server.\n\nOpen the certificate file to see the Subject Common Name and the Subject\nAlternative Name:\n\n```\nopenssl x509 -in vcenter.pem -text -noout\n```\n\nThe output shows the Subject Common Name (CN). This might be an IP address, or\nit might be a hostname. For example:\n\n```\nSubject: ... CN = 203.0.113.100\n```\n\n```\nSubject: ... CN = my-host.my-domain.example\n```\n\nThe output might also include one or more DNS names under\n`Subject Alternative Name`:\n\n```\nX509v3 Subject Alternative Name:\n DNS:vcenter.my-domain.example\n```\n\nChoose the Subject Common Name or one of the DNS names under\n`Subject Alternative Name` to use as the value of the vCenter server address\nin your configuration file. For example:\n\n```\nvCenter:\n credentials:\n address: \"203.0.113.1\"\n```\n\n```\nvCenter:\n credentials:\n address: \"my-host.my-domain.example\"\n```"]]