You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now if i compile from master branch with golang 1.20, even with correct thumbprint config, govmomi will report error like
E0710 05:47:19.253974 1 connectionmanager.go:147] Cannot connect to vCenter with err: Post "https://10.191.133.186:443/sdk": tls: failed to verify certificate: x509: cannot validate certificate for 10.191.133.186 because it doesn't contain any IP SANs
E0710 05:47:20.258996 1 connection.go:181] Failed to create new client. err: Post "https://10.191.133.186:443/sdk": tls: failed to verify certificate: x509: cannot validate certificate for 10.191.133.186 because it doesn't contain any IP SANs
E0710 05:47:20.259047 1 connection.go:67] Failed to create govmomi client. err: Post "https://10.191.133.186:443/sdk": tls: failed to verify certificate: x509: cannot validate certificate for 10.191.133.186 because it doesn't contain any IP SANs
E0710 05:47:20.259058 1 connectionmanager.go:147] Cannot connect to vCenter with err: Post "https://10.191.133.186:443/sdk": tls: failed to verify certificate: x509: cannot validate certificate for 10.191.133.186 because it doesn't contain any IP SANs
What did you expect to happen?
CPI should be working without certificate validation error when using golang 1.20
How can we reproduce it (as minimally and precisely as possible)?
Bumped Cloud-provider-vsphere to use golang1.20
Govmomi version is 0.30.4
Then compile and deploy Cloud-provider-vsphere with correct tlsthumbprint config
Error shows up
E0710 05:47:20.259058 1 connectionmanager.go:147] Cannot connect to vCenter with err: Post "https://10.191.133.186:443/sdk": tls: failed to verify certificate: x509: cannot validate certificate for 10.191.133.186 because it doesn't contain any IP SANs
Anything else we need to know (please consider providing level 4 or above logs of CPI)?
No response
Kubernetes version
$ kubectl version
# paste output here
Cloud provider or hardware configuration
OS version
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
Kernel (e.g. uname -a)
Install tools
Container runtime (CRI) and and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
Others
The text was updated successfully, but these errors were encountered:
What happened?
Opened an issue in govmomi as well
vmware/govmomi#3174
Right now if i compile from master branch with golang 1.20, even with correct thumbprint config, govmomi will report error like
What did you expect to happen?
CPI should be working without certificate validation error when using golang 1.20
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know (please consider providing level 4 or above logs of CPI)?
No response
Kubernetes version
Cloud provider or hardware configuration
OS version
Kernel (e.g.
uname -a
)Install tools
Container runtime (CRI) and and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
Others
The text was updated successfully, but these errors were encountered: