DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
Version | Author | Date | Changes |
|---|---|---|---|
V1.0 | Syed Ahmed | 07-Oct-2013 | Initial Draft |
V1.1 | Syed Ahmed | 08-Oct-2013 | Changing name & updating uploadSSLCert to include certificate chain |
| V1.2 | Will Stevens | 22-Sep-2014 | Added support for Projects as well as allowing an admin to assign certs to one of their users accounts |
...
...
...
AssignToLoadBalancerRule if there is a certificate id in the request execute() method of the command callsassignSslCertToLoadBalancer(lb_id, certId) in LoadBalancingRulesManagerImplassignSslCertToLoadBalancer checks if the loadbalancer is capable of SSL. If not error is returned.AddapplyLoadBalancerConfig which calls applyLoadBalancerRules with the lbIdgetLoadBalancerRuleToApply function should also add getSslCertificates(lbId) which gets called from applyLoadBalancerConfigrule has SSL certificate info as well.applyLBRules of the NetscalerElement, the SSL info is passed inside the rule.SslOffload Capability if the rule has certificate info.NetscalerElement creates a LoadBalancerTO which transfers the params to the resouce resource layer.LoadBalancerTO should contain SslCertTO for holding certificate information....
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 |
| uuid | varchar(40) | Yes | None | Null |
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:
Response parameters:
Deletes an existing SSL cert from cloudstack.
Request parameters:
Response parameters:
updates an existing certificate-key pair
Request parameters:
Response parameters:
http://10.x.x.x:8080/client/api?command=uploadSslCert&certificate=-----BEGIN+CERTIFICATE-----<certificate>-----END+CERTIFICATE-----&privatekey=-----BEGIN+RSA+PRIVATE+KEY----<privatekey>-----END+RSA+PRIVATE+KEY-----Note : The certificate,key and chain should be UTF-encoded in the URL.
Deletes an existing SSL cert from cloudstack.lists the certificates for an Id or an account
Request parameters:
Response parameters:
...
http://10.x.x.x:8080/client/api?command=deleteSslCert&id=7...
The response is a list of following
...
http://10.x.x.x:8080/client/api?command=listSslCerts&accountid=2For associating the certificates to loadbalancing rules, we need to add have the certificate id parameter to following loadbalancer apis.
Request parameter to be added:
following APIs
Request parametes:
...
http://10.x.x.x:8080/client/api?command=assignCertToLoadBalancer&certid=138ad12e-a486-44e3-bb02-7a55d0813174&lbruleid=47
Request parameter to be added:
http://10.x.x.x:8080/client/api?command=removeCertFromLoadBalancer&lbruleid=47The certificates can be accessed as a tab on the Accounts page.
...