To finalize our setup, we just need to enable HTTPS for our load balancer. Doing so involves a few more steps because we first need to create a certificate to use for HTTPS traffic, and this certificate must be validated against our custom domain name.

Let's create the certificate and validate it by following these steps.

Give permissions to access AWS Certificate Manager (ACM)

As usual, we first need to assign permissions to our wordpressadmins group. This time, we need to assign the AWSCertificateManagerFullAccess policy.

Please log in to the AWS Console with your root account, and add the AWSCertificateManagerFullAccess policy to the wordpressadmins group.

Get hands-on with 1400+ tech skills courses.