SSLVerifyFault
SSLVerifyFault is thrown by the host connect method if the VC server could not verify the authenticity of the host's SSL certificate.
Currently, we do not distinguish the various possible reasons why the certificate could not be verified because we don't provide a way for the user to overwrite these reasons other than turning off SSL certificate verification completely. The only exception is the case when the certificate was rejected because it was self-signed. This is the most likely case when the user may want to overwrite the behavior by specifying the certificate's thumbprint in the ConnectSpec the next time the user connects to the host.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
],
"selfSigned": false,
"thumbprint": "string"
}
Whether the host's certificate was self signed
The thumbprint of the host's certificate.
This field is optional since vSphere 8.0u2.