addLoadBalancerListenerCertificate

Prev Next

Available in VPC

Add an SNI-based multi-TLS certificate to a load balancer.

Request

The following describes the request format for the endpoint. The request format is as follows:

Method URI
GET /addLoadBalancerListenerCertificate

Request headers

For headers common to all Load Balancer APIs, see Load Balancer common headers.

Request query parameters

The following describes the parameters.

Field Type Required Description
regionCode String Optional Region code for the load balancer instance to which you want to add the certificate
  • First Region of the getRegionList search result (default)
  • Check through getRegionList
loadBalancerListenerNo String Required Number of the load balancer listener
sslCertificateNo String Required SSL certificate number
  • Check through getCertificateList
  • If the listener's protocol type is HTTPS or TLS, the SSL certificate must be set
responseFormatType String Optional Response result format
  • xml (default) | json

Request example

The following is a sample request.

curl --location 'https://ncloud.apigw.ntruss.com/vloadbalancer/v2/addLoadBalancerListenerCertificate
?loadBalancerListenerNo=******
&sslCertificateNo=*****'
--header 'x-ncp-apigw-timestamp: {Timestamp}'
--header 'x-ncp-iam-access-key: {Access Key}'
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'

Response

The following describes the response format.

Response body

See loadBalancerListenerCertificateList for the response body.

Response status codes

For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

Response example

The following is a sample response.

<addLoadBalancerListenerCertificateResponse>
    <requestId></requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <loadBalancerListenerCertificateList>
        <loadBalancerListenerCertificate>
            <sslCertificateNo>*****</sslCertificateNo>
            <memberNo>*******</memberNo>
            <sslCertificateName>YOUR_CERTIFICATE</sslCertificateName>
            <domainAddress>***.com</domainAddress>
            <validEndDate>2025-06-20 20:59:59</validEndDate>
            <isDefault>true</isDefault>
            <statusCode>1</statusCode>
            <statusName>Normal</statusName>
        </loadBalancerListenerCertificate>
    </loadBalancerListenerCertificateList>
</addLoadBalancerListenerCertificateResponse>