Send feedback
Update vCenter certificate references
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.9 keyboard_arrow_down
This page describes how to update the reference to the vCenter certificate if it has changed, as your running admin cluster and user clusters must be informed of the change. This affects the vCenter.caCertPath
field in the admin cluster configuration file and the user cluster configuration files for Google Distributed Cloud.
You can update the certificate references with the gkectl update
command as described here.
Update the referenced vCenter certificate in the cluster configuration files
To update the running admin and user clusters to use the new certificate:
Retrieve the new vCenter certificate and unzip it:
curl -o certs.zip https://VCENTER_IP_ADDRESS /certs/download.zip
unzip certs.zip
You can use the -k
flag if you want to allow unknown certificates. This is to avoid any certificate issues you may have accessing vCenter.
Save the Linux certificate to a file named vcenter-ca.pem
.
In your admin cluster configuration file, set vCenter.caCertPath
to the path of your new vcenter-ca.pem
file.
Update your admin cluster configuration file:
gkectl update admin --config ADMIN_CLUSTER_CONFIG --kubeconfig ADMIN_CLUSTER_KUBECONFIG
Replace:
ADMIN_CLUSTER_CONFIG with the path of your admin cluster
configuration file.
In each of your user cluster configuration files, set vCenter.caCertPath
to the path of your new vcenter-ca.pem
file.
For each of your user clusters, run gkectl update command:
gkectl update cluster --config USER_CLUSTER_CONFIG --kubeconfig ADMIN_CLUSTER_KUBECONFIG
Replace:
USER_CLUSTER_CONFIG with the path of your user cluster
configuration file.
Once the commands run successfully, the clusters will start using the new certificate.
Note: The vCenter.caCertPath
field also appears in the admin workstation configuration file. If you
want to create a new admin workstation, make sure that you edit the `vCenter.caCertPath
field to reference the current certificate.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-26 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-26 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-26 UTC."]]