Docs
api
Load Balance(ULB)
DescribeSSLV2

Obtain SSL Certificate Information - DescribeSSLV2

Overview

Obtain SSL certificate information, this interface can simultaneously obtain the binding relationship of SSL with traditional and application load balancer listeners

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeSSLV2.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.Yes
SSLIdstringId of SSL CertificateNo
LimitintData pagination value, default is 20No
OffsetintData offset, default value is 0No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
TotalCountintTotal number of eligible SSL certificatesNo
DataSetarray[SSLInfo]Detailed information of SSL certificate, see SSLInfo for specific structure.No

Data Model

SSLInfo

Field NameTypeDescription InformationRequired
SSLIdstringId of SSL CertificateNo
SSLNamestringName of the SSL CertificateNo
SSLTypestringSSL Certificate type, currently only Pem type is availableNo
SSLContentstringContent of the SSL CertificateNo
CreateTimeintCreation time of the SSL certificateNo
HashValuestringHASH value of SSL certificateNo
Relationsarray[SSLRelation]The relationship of SSL binding with ULB and ALBNo
SSLSourceintSource of SSL Certificate, Source of SSL Certificate, 0 represents the certificate is from the ULB platform, 1 represents the certificate is from the USSL platform.No
USSLIdstringThe ID of the USSL Certificate Platform, only appears when SSLSource is 1.No
DomainsstringDomain of SSL CertificateNo
DNSNamesstringExtended Domain of SSL CertificateNo
NotBeforeintCertificate Issuance TimeNo
NotAfterintCertificate Expiration TimeNo

SSLRelation

Field NameTypeDescription InformationRequired
LoadBalancerIdstringID of the Load Balancing InstanceNo
LoadBalancerNamestringName of the Load Balancing InstanceNo
ListenerIdstringListener's IDNo
ListenerNamestringName of the ListenerNo
IsDefaultbooleanIs it the default SSL certificate for the listener?No

Example

Request Example

https://api.ucloud-global.com/?Action=DescribeSSLV2
&Region=MugqZBZG
&ProjectId=EAolgCLw
&SSLId=gmehGNgp
&Limit=5
&Offset=9

Response Example

{
  "Action": "DescribeSSLV2Response",
  "DataSet": [
    {
      "CreateTime": 9,
      "SSLBindedTargetSet": [
        "ngLEWbOi"
      ],
      "SSLContent": "suFedZgn",
      "SSLId": "wWpnuBzD",
      "SSLName": "FLDjCBnm",
      "SSLType": "iMInfAKH"
    }
  ],
  "RetCode": 0,
  "TotalCount": 5
}