SSLVerifyFault

SSLVerifyFault
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.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ],
    "selfSigned": false,
    "thumbprint": "string"
}
boolean
selfSigned
Required

Whether the host's certificate was self signed

string
thumbprint
Optional

The thumbprint of the host's certificate.

This field is optional since vSphere 8.0u2.