addLoadBalancerSslCertificate
- 印刷する
- PDF
addLoadBalancerSslCertificate
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
概要
証明書追加
説明
ロードバランサで使うSSL証明書を追加します。
リクエストパラメータ
パラメータ名 | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
certificateName | Yes | String | 重複不可 | 追加する証明書名 |
privateKey | Yes | String | 重複不可 | 証明書秘密鍵(認証キーが保存された経路を貰います。) e.g file://directory1/directory2/.pem e.g https://kr.objectstorage.ncloud.com/bucket/.pem |
publicKeyCertificate | Yes | String | 重複不可 | 公開鍵証明書(認証キーが保存された経路を貰います。) e.g file://directory1/directory2/.pem e.g https://kr.objectstorage.ncloud.com/bucket/.pem |
certificateChain | Optional | String | 重複不可 | chainca証明書(認証キーが保存された経路を貰います。), (証明書を発行する時、chaincaを一緒に発行された場合は必須) e.g file://directory1/directory2/.crt e.g https://kr.objectstorage.ncloud.com/bucket/.crt |
レスポンスデータタイプ
- SslCertificateListタイプ
SslCertificateList extends CommonResponse |
---|
private Integer totalRows; |
private List |
SslCertificate |
---|
private String certificateName; |
private String privateKey; |
private String publicKeyCertificate; |
private String certificateChain |
例示
呼び出し
ncloud loadbalancer addLoadBalancerSslCertificate --certificateName penguin --privateKey file:///C:/Users/Naver/.ncloud/privateKey.pem --publicKeyCertificate file:///C:/Users/Naver/.ncloud/publicKey.pem
レスポンス
{
"addLoadBalancerSslCertificateResponse": {
"requestId": "7ee5cc7c-6696-4aa9-bce5-2eb022a29436",
"returnCode": 0,
"returnMessage": "success",
"totalRows": 1,
"sslCertificateList": [
{
"certificateName": "penguin",
"privateKey": "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQDVCm3rCfYeQDQW1yzWIofJtRc3wD6fft4Vm/EhFAFg77tPzCUr\nGwMEAdJ0a6mM8bTJdNAsLgS2ArqcNhwDwt/o7Vwo6Jo8faYDJzz6CFyBMXr2IRfq\nirT3ffoCq+3tL9rwQ9ll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QMQwwCgYDVQQLEwNSTkQxDTALBgNVBAMTBHRlc3QxHzAdBgkq\nhkiG9w0BCQEWEGZhc3QwMkBuYXZlci5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0A\nMIGJAoGBANUKbesJ9h5ANBbXLNYih8m1FzfAPp9+3hWb8SEUAWDvu0/MJSsbAwQB\n0nRrqYzxtMl00CwuBLYCupw2HAPC3+jtXCjomjx9pgMnPPoIXIExevYhF+qKtPd9\n+gKr7e0v2vBD2WU/n4v4+j+TUF9ol3ln6ZOfxQblPw2lqPhRA5i7AgMBAAEwDQYJ\nKoZIhvcNAQEFBQADgYEAhbcSYDrEnBKuEepa35FQBlLMTVA+2RocfRZPdXV0s3i5\n5iwH/6S23Gy/nKkEXJSGhUst5HjgRJqhvHyfM2uXY8zeq0oVhGu0C3iaE49Q0Vdp\ni1pMe+14UFKW8iohI8ZU2eUL5tm0VdNtV8JPF/sagh4LLyPzrf65PwOIbtSttcY\u003d\n-----END CERTIFICATE-----",
"certificateChain": ""
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<addLoadBalancerSslCertificateResponse>
<requestId>7ee5cc7c-6696-4aa9-bce5-2eb022a29436</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<sslCertificateList>
<certificateName>penguin</certificateName>
<privateKey>-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQDVCm3rCfYeQDQW1yzWIofJtRc3wD6fft4Vm/EhFAFg77tPzCUr
GwMEAdJ0a6mM8bTJdNAsLgS2ArqcNhwDwt/o7Vwo6Jo8faYDJzz6CFyBMXr2IRfq
irT3ffoCq+3tL9rwQ9llP5+L+Po/k1BfaJd5Z+mTn8UG5T8Npaj4UQOYuwIDAQAB
AoGBAIxATnbC2xW1PNWgmPLsTqq7HmrklBWahwiA3jDho7q2eIEjK4ECSmzz6iIc
0sVoRpWt4nKDZTSR/VpjwPO08oSIywUFyh+ExL5YZ/TmMKiIurOWnQujUZT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RrqYzxtMl00CwuBLYCupw2HAPC3+jtXCjomjx9pgMnPPoIXIExevYhF+qKtPd9
+gKr7e0v2vBD2WU/n4v4+j+TUF9ol3ln6ZOfxQblPw2lqPhRA5i7AgMBAAEwDQYJ
KoZIhvcNAQEFBQADgYEAhbcSYDrEnBKuEepa35FQBlLMTVA+2RocfRZPdXV0s3i5
5iwH/6S23Gy/nKkEXJSGhUst5HjgRJqhvHyfM2uXY8zeq0oVhGu0C3iaE49Q0Vdp
i1pMe+14UFKW8iohI8ZU2eUL5tm0VdNtV8JPF/sagh4LLyPzrf65PwOIbtSttcY=
-----END CERTIFICATE-----</publicKeyCertificate>
<certificateChain></certificateChain>
</sslCertificateList>
</addLoadBalancerSslCertificateResponse>
この記事は役に立ちましたか?