addLoadBalancerListenerCertificate
    • PDF

    addLoadBalancerListenerCertificate

    • PDF

    Article summary

    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:

    MethodURI
    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.

    FieldTypeRequiredDescription
    regionCodeStringOptionalRegion 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
    loadBalancerListenerNoStringRequiredNumber of the load balancer listener
    sslCertificateNoStringRequiredSSL certificate number
    • Check through getCertificateList
    • If the listener's protocol type is HTTPS or TLS, the SSL certificate must be set
    responseFormatTypeStringOptionalResponse 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>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.