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
The PR #3547 changed the function func IsCertificateUntrusted(err error) bool in how it detects errors.
Since bumping govmomi, CAPV is no longer able to talk to servers where the certificate does not provide the correct IP addresses (e.g. vcsim when not using localhost / 127.0.0.1) resulting in the following error:
failed to create client: Post \"[https://10.244.0.13:37283/sdk\":](https://10.244.0.13:37283/sdk/%22:) tls: failed to verify certificate: x509: certificate is valid for 127.0.0.1, ::1, not 10.244.0.13
To Reproduce
Steps to reproduce the behavior:
Using the following unit test which is green on v0.43.0 but fails for >= v0.44.0:
Describe the bug
The PR #3547 changed the function
func IsCertificateUntrusted(err error) bool
in how it detects errors.Since bumping govmomi, CAPV is no longer able to talk to servers where the certificate does not provide the correct IP addresses (e.g. vcsim when not using localhost / 127.0.0.1) resulting in the following error:
To Reproduce
Steps to reproduce the behavior:
Using the following unit test which is green on
v0.43.0
but fails for >=v0.44.0
:Expected behavior
A clear and concise description of what you expected to happen.
The error to be ignored.
Affected version
Please provide details on the version used, e.g. release tag, commit, module version, etc.
Fails for >= v0.44.0
Change was introduced in #3547
Screenshots/Debug Output
If applicable, add screenshots or debug output to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: