addLoadBalancerListenerCertificate
- Print
- PDF
addLoadBalancerListenerCertificate
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
It adds the SNI-based multiple TLS certificate.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code - Determines the region of the load balancer instance to add the Authentication service. - regionCode is obtained via the getRegionList action - Default: Selects the first region of the getRegionList query results | |
loadBalancerListenerNo | Yes | Integer | - Load balancer listener number - loadBalancerListenerNo is obtained via the getLoadBalancerListenerList action | |
sslCertificateNo | Yes | Integer | - SSL certificate number - If the listener protocol type is either HTTPS or TLS, you must set the SSL certificate. - You can obtain the sslCertificateNo through the GET https://certificatemanager.apigw.ntruss.com/api/v1/certificates action. |
Responses
Response data type
- loadBalancerListenerCertificateList type
LoadBalancerInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List |
loadBalancerListenerCertificate |
---|
private String sslCertificateNo; |
private String memberNo; |
private String loadBalancerDescription; |
private String sslCertificateName; |
private String domainAddress; |
private String validEndDate; |
private Boolean isDefault; |
private Integer statusCode; |
private String statusName; |
Examples
Request examples
ncloud vloadbalancer addLoadBalancerListenerCertificate --regionCode KR --loadBalancerListenerNo ****1 --sslCertificateNo ****4
Response examples
<addLoadBalancerListenerCertificateResponse>
<requestId>959a2fe5-fd1b-459a-9af3-df0e51b68e1d</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>3</totalRows>
<loadBalancerListenerCertificateList>
<loadBalancerListenerCertificate>
<sslCertificateNo>****3</sslCertificateNo>
<memberNo>**9</memberNo>
<sslCertificateName>cert1-***</sslCertificateName>
<domainAddress>www.***.com</domainAddress>
<validEndDate>2032-10-11 13:48:39</validEndDate>
<isDefault>true</isDefault>
<statusCode>1</statusCode>
<statusName>Normal</statusName>
</loadBalancerListenerCertificate>
<loadBalancerListenerCertificate>
<sslCertificateNo>>****3</sslCertificateNo>
<memberNo>**9</memberNo>
<sslCertificateName>cert1</sslCertificateName>
<domainAddress>cert1-***</domainAddress>
<validEndDate>2032-**-** **:**:**</validEndDate>
<isDefault>false</isDefault>
<statusCode>1</statusCode>
<statusName>Normal</statusName>
</loadBalancerListenerCertificate>
<loadBalancerListenerCertificate>
<sslCertificateNo>****4</sslCertificateNo>
<memberNo>**9</memberNo>
<sslCertificateName>cert2-***</sslCertificateName>
<domainAddress>www.****.com</domainAddress>
<validEndDate>2032-**-** **:**:**</validEndDate>
<isDefault>false</isDefault>
<statusCode>1</statusCode>
<statusName>Normal</statusName>
</loadBalancerListenerCertificate>
</loadBalancerListenerCertificateList>
</addLoadBalancerListenerCertificateResponse>
Was this article helpful?