专有云计算

  • 专有云计算 > API 文档 > 创建负载均衡证书

    创建负载均衡证书

    最近更新时间:2022-01-18 10:42:17

    请求路径

    POST /api/rio/v1/network/loadbalancer_certificate

    请求参数

    名称 类型 位置 必须 描述
    x-rio-zone-id string header 地域 ID
    server_certificate_name string body 证书名称
    server_certificate string body 公钥证书
    private_key string body 私钥证书

    返回值

    名称 类型 描述
    request_id string 请求 ID

    请求值示例

    {
        "server_certificate_name":"cert-g18lF",
        "private_key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAq2SOUgZGOAHNY3n7qR5R0h/nYYMnz69xz+hXoysPvfsoWnZi\nMIIEpAIBAAKCAQEAq2SOUgZGOAHNY3n7qR5R0h/nYYMnz69xz+hXoysPvfsoWnZi\nMIIEpAIBAAKCAQEAq2SOUgZGOAHNY3n7qR5R0h/nYYMnz69xz+hXoysPvfsoWnZi\nMIIEpAIBAAKCAQEAq2SOUgZGOAHNY3n7qR5R0h/nYYMnz69xz+hXoysPvfsoWnZi\nMIIEpAIBAAKCAQEAq2SOUgZGOAHNY3n7qR5R0h/nYYMnz69xz+hXoysPvfsoWnZi\nMIIEpAIBAAKCAQEAq2SOUgZGOAHNY3n7qR5R0h/nYYMnz69xz+hXoysPvfsoWnZi\nMIIEpAIBAAKCAQEAq2SOUgZGOAHNY3n7qR5R0h/nYYMnz69xz+hXoysPvfsoWnZi\nMIIEpAIBAAKCAQEAq2SOUgZGOAHNY3n7qR5R0h/nYYMnz69xz+hXoysPvfsoWnZi\nMIIEpAIBAAKCAQEAq2SOUgZGOAHNY3n7qR5R0h/nYYMnz69xz+hXoysPvfsoWnZi\nH/Me/JtAfoZC/KPdFXUAP7sKMiRn4W8yjRbwnDoJ+oILYC7BQnnDrg==\n-----END RSA PRIVATE KEY-----",
        "server_certificate":"-----BEGIN CERTIFICATE-----\nMIIGBzCCBO+gAwIBAgIQB43fqgfzkdLGf7ZbZrnW8DANBgkqhkiG9w0BAQsFADBy\nMIIGBzCCBO+g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CERTIFICATE-----"
    }
    

    返回值示例

    {
        "request_id":"HtPfEupZugkUAcoW",
        "data":{}
    }
    
    以上内容是否对您有帮助?
  • Qvm free helper
    Close