Available in VPC
Get a TLS certificate from the certificate list of a load balancer listener.
Syntax
The getLoadBalancerListenerCertificateList syntax is as follows:
./ncloud vloadbalancer getLoadBalancerListenerCertificateList \
--loadBalancerListenerNo <load-balancer-listener-no> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getLoadBalancerListenerCertificateList.
Required options
The following options are required for getLoadBalancerListenerCertificateList.
| Options | Type | Required | Description |
|---|---|---|---|
--loadBalancerListenerNo |
String | Required | Load balancer listener number |
Common options
For information about the options common to all vloadbalancer subcommands, see Load Balancer (VPC) options.
Examples
If the request to retrieve the list of listener certificates on the load balancer is successful, the details of each TLS certificate are returned.
Command
The command example is as follows:
./ncloud vloadbalancer getLoadBalancerListenerCertificateList \
--loadBalancerListenerNo 60001111 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getLoadBalancerListenerCertificateListResponse": {
"totalRows": 0,
"loadBalancerListenerCertificateList": [
{
"sslCertificateNo": "51234568",
"memberNo": "24681357",
"sslCertificateName": "cli-docs-test-cert2",
"domainAddress": "cli-docs-test2.example.com",
"validEndDate": "2026-07-17 18:36:03",
"isDefault": false,
"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": 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": "f2a3b4c5-d6e7-8901-fabc-234567890123",
"returnCode": "0",
"returnMessage": "success"
}
}