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\nir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EM\nMAoGA1UEChMDTkJQMQwwCgYDVQQLEwNSTkQxDTALBgNVBAMTBHRlc3QxHzAdBgkq\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+ExL5Y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WDvu0/MJSsbAwQB
0nRrqYzxtMl00CwuBLYCupw2HAPC3+jtXCjomjx9pgMnPPoIXIExevYhF+qKtPd9
+gKr7e0v2vBD2WU/n4v4+j+TUF9ol3ln6ZOfxQblPw2lqPhRA5i7AgMBAAEwDQYJ
KoZIhvcNAQEFBQADgYEAhbcSYDrEnBKuEepa35FQBlLMTVA+2RocfRZPdXV0s3i5
5iwH/6S23Gy/nKkEXJSGhUst5HjgRJqhvHyfM2uXY8zeq0oVhGu0C3iaE49Q0Vdp
i1pMe+14UFKW8iohI8ZU2eUL5tm0VdNtV8JPF/sagh4LLyPzrf65PwOIbtSttcY=
-----END CERTIFICATE-----</publicKeyCertificate>
<certificateChain></certificateChain>
</sslCertificateList>
</addLoadBalancerSslCertificateResponse>
이 문서가 도움이 되었습니까?