Pushing a Certificate
Function
This API is used to push an SSL certificate to other HUAWEI CLOUD services, such as Web Application Firewall (WAF), Elastic Load Balance (ELB), and Content Delivery Network (CDN).
This API will be discarded. You are advised to push a certificate by referring to Pushing a Certificate.
URI
Request
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| service_type | Yes | String | Type of the service to which a certificate is pushed. Options: CDN, ELB, Enhance_ELB, and WAF |
| remote_project | Yes | String | Region where the target service to which a certificate is pushed. |
Response
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| message | Yes | String | Request result. |
Example
The following describes how to push a certificate to WAF in region cn-north-7.
- Example request
{ "service_type":"WAF", "remote_project":"cn-north-7" } - Example response
{ "message":"success" }or
{ "error_code": "SCM.XXXX", "error_msg": "XXXX" }
Status Codes
For details about error code, see Error Code
Last Article: Revoking a Certificate
Next Article: Querying Push Records
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.