I have configured certificates and chains have been generated for a new Bitnami LAMP stack install and got the following message:
Congratulations! You have successfully enabled https://binhngodaicao.com and https://www.binhngodaicao.com
However when testing there are some issues which i don’t really understand. I am thinking it is possibly a becuase of an Invalid configuration. I have a fresh Bitnami LAMP install and i haven’t done any configuration at all!
Could someone please help me to determine the issue and a possible resolution?
In particular, the server isn’t using the Let’s Encrypt certificates that were issued, so they still have to be configured in Apache correctly. Instead, the server is using the old self-signed certificate that probably came with the server. Sometimes this is caused by having a _default_ HTTPS virtual host that overrides the individual virtual hosts that Certbot created, or something like that.
Hello @stevenzhu
Thanks for your reply. I have been looking at that set of instructions but I used Certbot Auto and was able to general the certificates the issue is with configuring the Virtual Machine
I had a look at your second the web path and there isn’t anything in it /opt/bitnami/apache2/htdocs
However, I added the new path to the Certs and Rewrites to this file : /opt/bitnami/apache2/conf/bitnami/bitnami.conf
The part I am confused about in the Apache Conf instructions where it gives an example, see below
/opt/bitnami/apps/myapp/conf/ directory: httpd-app.conf, httpd-prefix.conf and httpd-vhosts.conf.
The thing is I don’t have an app (myapp) currently installed. It is a LAMP stack and I don’t need any app installed so not sure what to do here. So I mean I can’t configure anything at those 3 file extensions when I don’t have an myapp! to configure… Let me know what you think.
cheers,