# Class SSLTermination

The SSL Termination feature allows a load balancer user to terminate SSL traffic at the load balancer layer versus at the web server layer. A user may choose to configure SSL Termination using a key and an SSL certificate or an (Intermediate) SSL certificate.

When SSL Termination is configured on a load balancer, a secure shadow server is created that listens only for secure traffic on a user-specified port. This shadow server is only visible to and manageable by the system. Existing or updated attributes on a load balancer with SSL Termination will also apply to its shadow server. For example, if Connection Logging is enabled on an SSL load balancer, it will also be enabled on the shadow server and Cloud Files logs will contain log files for both.

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\LoadBalancer\Resource\AbstractResource
  OpenCloud\LoadBalancer\Resource\NonIdUriResource
  OpenCloud\LoadBalancer\Resource\SSLTermination

Namespace: OpenCloud\LoadBalancer\Resource
Link: http://docs.rackspace.com/loadbalancers/api/v1.0/clb-devguide/content/SSLTermination-d1e2479.html
Located at OpenCloud/LoadBalancer/Resource/SSLTermination.php

Methods summary
`public Guzzle\Http\Message\Response` | # `create( array $params = array() )` Create a new resource Create a new resource #### Parameters $params `array` $params #### Returns `Guzzle\Http\Message\Response` #### Overrides `OpenCloud\Common\Resource\PersistentResource::create()`

Methods inherited from OpenCloud\LoadBalancer\Resource\NonIdUriResource
`refresh()`

Methods inherited from OpenCloud\LoadBalancer\Resource\AbstractResource
`createJson(), refreshFromParent(), updateJson()`

Methods inherited from OpenCloud\Common\Resource\PersistentResource
`checkExtension(), delete(), getAlias(), noCreate(), noDelete(), noUpdate(), refreshFromLocationUrl(), update(), waitFor()`

Methods inherited from OpenCloud\Common\Resource\BaseResource
`__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), primaryKeyField(), resourceName(), setMetadata(), setParent(), setService()`

Methods inherited from OpenCloud\Common\Base
`__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()`

Properties summary
`public string` | $certificate | `` | # The certificate used for SSL termination. The certificate used for SSL termination.
`public boolean` | $enabled | `` | # Determines if the load balancer is enabled to terminate SSL traffic. If set to FALSE, the load balancer will retain its specified SSL attributes, but will not terminate SSL traffic. Determines if the load balancer is enabled to terminate SSL traffic. If set to FALSE, the load balancer will retain its specified SSL attributes, but will not terminate SSL traffic.
`public boolean` | $secureTrafficOnly | `` | # Determines if the load balancer may accept only secure traffic. If set to TRUE, the load balancer will not accept non-secure traffic. Determines if the load balancer may accept only secure traffic. If set to TRUE, the load balancer will not accept non-secure traffic.
`public string` | $privatekey | `` | # The private key for the SSL certificate. The private key for the SSL certificate.
`public string` | $intermediateCertificate | `` | # The user's intermediate certificate used for SSL termination. The user's intermediate certificate used for SSL termination.
`public integer` | $securePort | `` | # The port on which the SSL termination load balancer will listen for secure traffic. The port on which the SSL termination load balancer will listen for secure traffic.
`protected static string` | $json_name | `"sslTermination"` | #
`protected static string` | $url_resource | `"ssltermination"` | #
`protected array` | $createKeys | `array( 'certificate', 'enabled', 'secureTrafficOnly', 'privatekey', 'intermediateCertificate', 'securePort' )` | #

Properties inherited from OpenCloud\Common\Resource\BaseResource
`$metadata, $parent, $service`

Properties inherited from OpenCloud\Common\Base
`$aliases`