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.
...
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 layer.LoadBalancerTO should contain SslCertTO for holding certificate information.Capability in as SSL as SslOffload in Network.java static class CapabilityNetscalerElement when checking for canHandleLbRules will check for SSL rule and respond accordinglyLoadBalancingRule will have a new static class LbSslCert and will have a list List<LbSslCert> for holding the certificate(s)LoadBalancerTO will have a new parameter for passing certificate information. | Code Block | ||||
|---|---|---|---|---|
| ||||
// rule for SSL certificates
public class LoadBalancingRule {
....
public static class LbSslCert()
{
String cert;
String key;
String password;
boolean _revoke;
public LbSslCert(cert,key,password) {}
}
public void setSslCerts(List<SslCert> certs){}
public void setSslCertsgetSslCerts(List<SslCert> certs){}
...
}
|
The transfer object should also be able to pass SSL certs
| Code Block | ||||
|---|---|---|---|---|
| ||||
// TO for SSL certificates public class LoadBalancerTO { .... public SslCertsTO[] sslCerts; public static class SslCertTO() { String cert; String key; String password; boolean _revoke; public LbSslCert(cert,key,password) {} } ... } |
ssl_certs(id, uuid, account_id, cert, key, password)
...