Apache CloudStack 4.23.0.0 Root Admin API Reference

provisionCertificate

Issues and propagates client certificate on a connected host/agent using configured CA plugin

Request parameters

Parameter NameDescriptionRequired
hostidThe host/agent ID to which the certificate has to be provisioned (issued and propagated)true
forcedWhen true, uses SSH to re-provision the agent's certificate, bypassing the NIO agent connection. Use this when agents are disconnected due to a CA change. Supported for KVM hosts and SystemVMs. Default is falsefalse
providerName of the CA service provider, otherwise the default configured provider plugin will be usedfalse
reconnectWhether to attempt reconnection with host/agent after successful deployment of certificate. When option is not provided, configured global setting is usedfalse

Response Tags

Response NameDescription
displaytextAny text associated with the success or failure
successTrue if operation is executed successfully