Host Certificate Manager Generate Certificate Signing Request By Dn
Requests the server to generate a certificate-signing request (CSR) for itself.
Alternative version similar to GenerateCertificateSigningRequest but takes a Distinguished Name (DN) as a parameter.
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 9.0.0.0 APIs.
"GenerateCertificateSigningRequestByDnRequestType Object"
DN to be used as subject in CSR.
is used to generate CSR for selected certificate kind
Since: vSphere API Release 8.0.1.0
CSR in PEM format
HostConfigFault: if there's a problem generating the CSR.
"HostConfigFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostCertificateManager/{moId}/GenerateCertificateSigningRequestByDn