Passbolt behind AWS load balancer

Installing community edition behind AWS application load balancer to leverage SSL termination on load balancer. Certificate created and validate with AWS Certificate manager.

The installation on instance does not use SSL since its not required anymore. However getting issues where installation not loading css and js.

Got that working by hacking app.php with full base url. But then start getting issues when new users cant sign up, although it says activated on dashboard.

getting this error when they sign up in nginx logs.

“POST /auth/verify.json?api-version=v2 HTTP/1.1” 500 2

Selinux was complaining about something, recommended following commands to allow the issue through a policy.

ausearch -c ‘gpg’ --raw | audit2allow -M my-gpg
semodule -X 300 -i my-gpg.pp