Host Certificate Manager Generate Certificate Signing Request
Requests the server to generate a certificate-signing request (CSR) for itself.
The CSR is then typically provided to a Certificate Authority to sign and issue the SSL certificate for the server. Use InstallServerCertificate to install this certificate.
Required privileges: Certificate.Manage
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case HostCertificateManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"useIpAddressAsCommonName": false
}
{
"useIpAddressAsCommonName": false,
"spec": {
"_typeName": "string",
"kind": "string"
}
}
if true, use host's management IP address as CN in the CSR; otherwise use host's FQDN.
Represents certificate specification used for identifying a specific certificate supported by Host.
Since: vSphere API Release 8.0.1.0
CSR in PEM format
HostConfigFault: if there's a problem generating the CSR.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}