Validate Virtual Center Certificate
All the listed privileges are required -
Privileges | Description |
---|---|
GLOBAL_CONFIG_VIEW | Caller should have permission to this privilege, to perform this operation. |
{
"password": [
"<password>"
],
"port": 443,
"server_name": "horizon.com",
"username": "administrator"
}
Password to use for the connection. This property is not required if the server is already added.
Port of the server to connect to.
Url of the server without the protocol prefix.
User name to use for the connection.
OK
{
"allow_admin_override": true,
"certificate": "<certificate>",
"certificate_encoding": "DER_BASE64_PEM",
"invalid_reasons": [
"NOT_TRUSTED",
"CANT_CHECK_REVOKED"
],
"ssl_cert_thumbprint": "<thumbprint>",
"ssl_cert_thumbprint_algorithm": "SHA-1",
"valid": true
}
Indicates if admin override is allowed.
The certificate in string form.
The encoding of the certificate.
The reason(s) why the certificate could not be validated.
A digest of the certificate.
Algorithm used to compute the thumbprint.
Indicates if certificate is valid.
Bad Request
User is not authenticated
Access to the resource is forbidden
Not Found