Unable to configure SSL on Moodle instance on AWS with Load Balancer

Keywords: Moodle - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: 3dbfd5fa-e8d0-4c9b-76fc-748ce118e2f5
I’ve followed the guide at https://docs.bitnami.com/aws/how-to/configure-elb-ssl-aws/ however SSL is not being forced. I’ve completed the Bitnami Support Tool and my code is:


I’ve also added the line:

SetEnvIf x-forwarded-proto https HTTPS=on

…to these two files…

…as per the recommendation at Do not have httpd-prefix.conf file in my bitnami moodle application

The moodle instance is hosted at the subdomain my.designschoolasia.com. I currently have just the one SSL certificate set up through AWS for the domain, but have created an additional load balancer for this subdomain and am using the SSL certificate for the domain.

I’m stuck. Please advise how I can get the subdomain to work under https?

Hello @mjday,

Currently, your subdomain HTTPS site appears as not secure with the used cert tagged as invalid:

From what I have seen in your current cert details, the cert is only valid for your root domain so you would need a new certificate for your subdomain.

Francisco de Paz


A big thanks to you from myself and my friend. I took your advice, went to ACM certificate manager, created a new SSL certificate, verified by DNS, and then went and created a new load balancer and linked it to the new cert and the instance.

It’s now all in order.

Thanks again, and all the best.

1 Like