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 Name | Description | Required |
| hostid | The host/agent ID to which the certificate has to be provisioned (issued and propagated) | true |
| forced | When 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 false | false |
| provider | Name of the CA service provider, otherwise the default configured provider plugin will be used | false |
| reconnect | Whether to attempt reconnection with host/agent after successful deployment of certificate. When option is not provided, configured global setting is used | false |
Response Tags
| Response Name | Description |
| displaytext | Any text associated with the success or failure |
| success | True if operation is executed successfully |