removeLoadBalancerListenerCertificate

Prev Next

Available in VPC

Remove an SNI-based multi-TLS certificate from a load balancer.

Syntax

The removeLoadBalancerListenerCertificate syntax is as follows:

./ncloud vloadbalancer removeLoadBalancerListenerCertificate \
    --loadBalancerListenerNo <load-balancer-listener-no> \
    --sslCertificateNo <ssl-certificate-no> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running removeLoadBalancerListenerCertificate.

Required options

The following options are required for removeLoadBalancerListenerCertificate.

Options Type Required Description
--loadBalancerListenerNo String Required Load balancer listener number
--sslCertificateNo String Required SSL certificate number
  • An SSL certificate must be configured if the listener’s protocol type is HTTPS or TLS.
  • See getCertificateList.

Common options

For information about the options common to all vloadbalancer subcommands, see Load Balancer (VPC) options.

Examples

If the request to remove the TLS certificate is successful, information about the TLS certificate applied to the load balancer listener is returned.

Command

The command example is as follows:

./ncloud vloadbalancer removeLoadBalancerListenerCertificate \
    --loadBalancerListenerNo 60001111 \
    --sslCertificateNo 51234568 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "removeLoadBalancerListenerCertificateResponse": {
    "totalRows": 2,
    "loadBalancerListenerCertificateList": [
      {
        "sslCertificateNo": "51234567",
        "memberNo": "24681357",
        "sslCertificateName": "cli-docs-test-cert",
        "domainAddress": "cli-docs-test.example.com",
        "validEndDate": "2026-07-17 18:34:59",
        "isDefault": true,
        "statusCode": 1,
        "statusName": "Normal"
      },
      {
        "sslCertificateNo": "51234567",
        "memberNo": "24681357",
        "sslCertificateName": "cli-docs-test-cert",
        "domainAddress": "cli-docs-test.example.com",
        "validEndDate": "2026-07-17 18:34:59",
        "isDefault": false,
        "statusCode": 1,
        "statusName": "Normal"
      }
    ],
    "requestId": "b4c5d6e7-f8a9-0123-bcde-456789012345",
    "returnCode": "0",
    "returnMessage": "success"
  }
}