应用与数据集成平台 ROMA Connect-创建SSL证书:响应示例

时间:2025-02-12 14:55:42

响应示例

状态码: 200

OK

{  "id" : "a27be832f2e9441c8127fe48e3b5ac67",  "name" : "cert_demo",  "common_name" : "apigtest.xxx.com",  "san" : [ "apigtest.xxx.com", "*.san.com" ],  "version" : 3,  "organization" : [ "company" ],  "organizational_unit" : [ "IT" ],  "locality" : [ "city" ],  "state" : [ "state" ],  "country" : [ "Country" ],  "not_before" : "2019-06-01T00:00:00Z",  "not_after" : "2031-08-16T06:36:13Z",  "serial_number" : "13010",  "issuer" : [ "SSL Inc" ],  "signature_algorithm" : "SHA256-RSA",  "create_time" : "2021-08-20T02:03:53Z",  "update_time" : "2021-08-20T02:03:53Z",  "algorithm_type" : "RSA"}

状态码: 400

Bad Request

{  "error_code" : "APIG.3325",  "error_msg" : "The API quota name already exists"}

状态码: 401

Unauthorized

{  "error_code" : "APIG.1002",  "error_msg" : "Incorrect token or token resolution failed"}

状态码: 403

Forbidden

{  "error_code" : "APIG.1005",  "error_msg" : "No permissions to request this method"}

状态码: 404

Not Found

{  "error_code" : "APIG.3030",  "error_msg" : "The instance does not exist;id:f0fa1789-3b76-433b-a787-9892951c620ec"}

状态码: 500

Internal Server Error

{  "error_code" : "APIG.9999",  "error_msg" : "System error"}
support.huaweicloud.com/api-roma/CreateCertificateV2.html