set_load_balancer_listener_ssl_certificate ( $load_balancer_name, $load_balancer_port, $ssl_certificate_id, $opt )

Sets the certificate that terminates the specified listener’s SSL connections. The specified certificate replaces any prior certificate that was used on the same LoadBalancer and port.

Access

public

Parameters

Parameter

Type

Required

Description

$load_balancer_name

string

Required

The name of the the LoadBalancer.

$load_balancer_port

integer

Required

The port that uses the specified SSL certificate.

$ssl_certificate_id

string

Required

The ID of the SSL certificate chain to use. For more information on SSL certificates, see Managing Server Certificates in the AWS Identity and Access Management documentation.

$opt

array

Optional

An associative array of parameters that can have the following keys:

  • curlopts - array - Optional - A set of values to pass directly into curl_setopt(), where the key is a pre-defined CURLOPT_* constant.
  • returnCurlHandle - boolean - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.

Returns

Type

Description

CFResponse

A CFResponse object containing a parsed HTTP response.

Related Methods

Source

Method defined in services/elb.class.php | Toggle source view (9 lines) | View on GitHub

public function set_load_balancer_listener_ssl_certificate($load_balancer_name, $load_balancer_port, $ssl_certificate_id, $opt = null)
{
    if (!$opt) $opt = array();
    $opt['LoadBalancerName'] = $load_balancer_name;
    $opt['LoadBalancerPort'] = $load_balancer_port;
    $opt['SSLCertificateId'] = $ssl_certificate_id;
    
    return $this->authenticate('SetLoadBalancerListenerSSLCertificate', $opt);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback