Upload a Certificate to IAM

To use your certificate with your Elastic Beanstalk environment's load balancer, upload
the certificate and private key to AWS Identity and Access Management (IAM). You can
use a
certificate stored in IAM with Elastic Load Balancing load balancers and Amazon CloudFront
distributions.

Note

AWS Certificate Manager (ACM) is the preferred tool to provision, manage, and deploy
your server certificates. For more information about requesting an ACM
certificate, see Request a Certificate in the AWS Certificate Manager User Guide. For more
information about importing third-party certificates into ACM, see Importing Certificates in
the AWS Certificate Manager User Guide. Use IAM to upload a certificate only if ACM is not available in your AWS Region.

You can use the AWS Command Line Interface (AWS CLI) to upload your certificate. The following command uploads a
self-signed certificate named https-cert.crt with a private key named private-key.pem: