SSL issues for Docker Compose Install for RasaX 0.32.2

I am on Ubuntu 18.04 on EC2 (AWS) and using certbot for SSL

Getting the following error for nginx container cannot load certificate key “/opt/bitnami/certs/privkey.pem”: BIO_new_file() failed (SSL: error:0200100D:system library:: error:2006D002:BIO routines:BIO_new_file:system lib)

There seems to be a permission issue .

Looking for some workarounds to change code on the nginx container to change the directory path to
( /opt/bitnami/nginx/conf/bitnami/certs/ ) . My solution would be to change the paths in entrypoint.sh and ssl.conf.

I am posting here for the first time so please regard any missing information

Regards.

I have installed as root and by changing permissions inside the local certs directory for the certificated fixed it …