Brooklyn

brooklyn.entity.proxy
[Groovy] Class ProxySslConfig

java.lang.Object
  brooklyn.entity.proxy.ProxySslConfig
All Implemented Interfaces:
java.io.Serializable

class ProxySslConfig

Property Summary
java.lang.String certificateDestination

Sets the ssl_certificate path to be used within the generated LoadBalancer configuration.

java.lang.String certificateSourceUrl

url's for the SSL certificates required at the server

java.lang.String keyDestination

Sets the ssl_certificate_key path to be used within the generated LoadBalancer configuration.

java.lang.String keySourceUrl

boolean reuseSessions

whether to reuse SSL validation in the server (performance).

boolean targetIsSsl

whether the downstream server (if mapping) also expects https; default false

 
Method Summary
boolean equals(java.lang.Object obj)

int hashCode()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

certificateDestination

java.lang.String certificateDestination
Sets the ssl_certificate path to be used within the generated LoadBalancer configuration. If set to null, Brooklyn will use an auto generated path. If certificateSourceUrl, then Brooklyn will copy the certificate the certificateDestination. Setting this field is useful if there is a certificate on the nginx machine you want to make use of.


certificateSourceUrl

java.lang.String certificateSourceUrl
url's for the SSL certificates required at the server

nginx settings: ssl on; ssl_certificate www.example.com.crt; ssl_certificate_key www.example.com.key;

okay (in nginx) for key to be null if certificate contains both as per setup at http://nginx.org/en/docs/http/configuring_https_servers.html

proxy object can be set on nginx instance to apply site-wide, and to put multiple servers in the certificate file

the brooklyn entity will install the certificate/key(s) on the server. (however it will not currently merge multiple certificates. if conflicting certificates are attempted to be installed nginx will complain.)


keyDestination

java.lang.String keyDestination
Sets the ssl_certificate_key path to be used within the generated LoadBalancer configuration. If set to null, Brooklyn will use an auto generated path. If keySourceUrl, then Brooklyn will copy the certificate the keyDestination. Setting this field is useful if there is a certificate_key on the nginx machine you want to make use of.


keySourceUrl

java.lang.String keySourceUrl


reuseSessions

boolean reuseSessions
whether to reuse SSL validation in the server (performance). corresponds to nginx setting: proxy_ssl_session_reuse on|off


targetIsSsl

boolean targetIsSsl
whether the downstream server (if mapping) also expects https; default false


 
Method Detail

equals

@Override
boolean equals(java.lang.Object obj)


hashCode

@Override
int hashCode()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.