Pushing a Certificate
Function
This API is used to push an SSL certificate to other HUAWEI CLOUD services, such as Web Application Firewall (WAF) 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 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 ap-southeast-1.
- Example request
{ "service_type":"WAF", "remote_project":"ap-southeast-1" }
- Example response
{ "message":"success" }
or
{ "error_code": "SCM.XXXX", "error_msg": "XXXX" }
Status Codes
For details about error codes, see Error Codes
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot