Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field name

Type

Allow nulls

Key

Default value

id

bigint(20) unsigned

No

Primary

Null

uuid

varchar(40)

Yes

Unique

Null

account_id

bigint(20)

No

Mul

Null

certificate

text

cert

varchar(255)

No

None

Null

chain

varchar(255)text

Yes

None

Null

key

varchar(255)text

No

None

Null

password

varchar(255)

Yes

None

Null

created

datatime

Yes

None

Null

domain_id

 bigint(20) unsigned

revoke

tinyint(1)

No

NoneMul

0Null


load_balancer_cert_map(id, load_balancer_id, certcertitficate_id, revoke, state)

Field name

Type

Allow nulls

Key

Default value

id

bigint(20) unsigned

No

Primary

Null

uuidvarchar(40)YesNoneNull

load_balancer_id

bigint(20)

No

Mul

Null

certcertificate_id

bigint(20)

No

Mul

Null

revoke

tinyint(1)

No

None

0

...

Uploads a new SSL certificate-key pair

Request parameters:

  • cert certificate : Required : The public certificate, should also include the trust chain if required
  • key privatekey : Required : The private key for the certificate, if the key is encrypted, password should be provided
  • chain: Optional : The certificate chain
  • password: Optional : The password for the private key

...

  • displaytext : any text associated with the success or failure
  • success : true if operation is executed successfully

...

updates an existing certificate-key pair

Request parameters:

  • id : Required: The id of the certificate
  • cert : Optional : The public certificate, should also include the trust chain if required
  • key : Optional : The private key for the certificate, if the key is encrypted, password should be provided
  • password: Optional : The password for the private key
  • chain : The certificate chain

Response parameters:

  • id : The id of the certificate
  • cert : The public certificate, should also include the trust chain if required
  • key : The private key for the certificate, if the key is encrypted, password should be provided
  • chain : The certificate chain

listSSLCerts

lists the certificates for an Id or an account

Request parameters:

...

Response parameters:

The response is a list of following

  • id : The id of the certificate
  • cert : The public certificate, should also include the trust chain if required
  • key : The private key for the certificate, if the key is encrypted, password should be provided
  • chain : The certificate chain
  • account : Account associated with the certificate
  • lbruleid : The lb rule associated with the certificate

New

...

Apis  to add SSL cets to LBs

For associating the certificates to loadbalancing rules, we need to add have the certificate id parameter to following loadbalancer apis.

assignToLoadBalancerRule

Request parameter to be added:

following APIs

assignCertToLoadBalancer

Request parametes:

  • certid: Required certificateid: Optional : The id of the certificate to assign to this rule.

...

  • lb_id:Requnred : The lb rule to assign the cert to

 

removeCertFromLoadBalancer

Request parameter to be added:

  • certificateidlbruleid: Optional : The id of the certificate to remove from this rule.

...