Programster's Blog

Tutorials focusing on Linux, programming, and open-source

AWS - Add SSL Certificate And Get ARN For Load Balancer

AWS

This tutorial shows you how to manually add an SSL certificate to AWS, so that you can specify it's ARN in your Terraform configuration for adding an HTTPS listener to your load balancer.

Steps

Type "certificate manager" into the search to pull up the ACM service.


  • Make sure you are signed into the same region as the load balancer you wish to assign this certificate for (CloudWatch would require your certificate to be in North Virginia).
  • Then click on Import a certificate.


Copy/paste the certificate contents into the web form.


Feel free to tag your certificate.


Click import on the review screen.


  • Check to make sure that the certificate is 2048 bit or below.
  • Copy the ARN for feeding into your Terraform configuration.

If your certificate is higher than 2048 bit, you cannot use it for an AWS load balancer.

Last updated: 21st June 2021
First published: 21st June 2021