Menu
Elastic Load Balancing
API Reference (API Version 2015-12-01)

AddListenerCertificates

Adds the specified certificate to the specified secure listener.

If the certificate was already added, the call is successful but the certificate is not added again.

To list the certificates for your listener, use DescribeListenerCertificates. To remove certificates from your listener, use RemoveListenerCertificates.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

Certificates.member.N

The certificate to add. You can specify one certificate per call.

Type: Array of Certificate objects

Required: Yes

ListenerArn

The Amazon Resource Name (ARN) of the listener.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

Certificates.member.N

Information about the certificates.

Type: Array of Certificate objects

Errors

For information about the errors that are common to all actions, see Common Errors.

CertificateNotFound

The specified certificate does not exist.

HTTP Status Code: 400

ListenerNotFound

The specified listener does not exist.

HTTP Status Code: 400

TooManyCertificates

You've reached the limit on the number of certificates per load balancer.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: