Load Balance(ULB)

Change Certificate Binding Relationship - UpdateSSLBinding


Replace the certificate bound to the traditional or application type load balancer listener with another certificate,


Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is UpdateSSLBinding.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
OldSSLIdstringThe old certificate bound to the listener instanceYes
NewSSLIdstringThe new certificate that the listener instance needs to bindYes
LoadBalancerIdstringThe operated LB instance ID (only when the LoadBalancerId is passed as an argument, all the original binding relationships of the LB with the OldSSLId will be replaced; if neither LoadBalancerId nor ListenerId are passed as arguments, the binding relationships of all original certificates with the OldSSLId under this project will be updated) (LB refers to CLB or ALB).No
ListenerIdstringThe operated listener instance ID (only when ListenerId is passed as a parameter, all original certificates bound to this listener with OldSSLId will be replaced; if neither LoadBalancerId nor ListenerId are passed as parameters, all original certificates with OldSSLId under this project will be updated; if both LoadBalancerId and ListenerId are passed as parameters, the ownership relationship between ULB and Vsserver will be strictly verified, and the OldSSLId bound to the vserver under this ulb will be replaced with NewSSLId) (Listener refers to VServer or Listener).No

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


Request Example

Response Example

  "Action": "UpdateSSLBindingResponse",
  "RetCode": 0
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved
  • Contact our sales to help your business.
  • Contact our sales to help your business.