Hello. I have a Bitnami LAMP 7.2.32-5 server, but I opened a new server with this version, Bitnami package for LAMP 8.5.0.
On the previous server in 2020, I was able to successfully complete my initial configuration using this tutorial: Generate and Install a Let's Encrypt SSL Certificate for a Bitnami Application
However, I'm now having trouble configuring the new server.
The commands I've entered are:
sudo /opt/bitnami/ctlscript.sh stop
sudo /opt/bitnami/letsencrypt/lego --tls --email="rmor23@gmail.com" --domains="www.mapjumpers.com" --path="/opt/bitnami/letsencrypt" run
2025/12/01 18:38:21 [INFO] [www.mapjumpers.com] acme: Obtaining bundled SAN certificate
2025/12/01 18:38:22 [INFO] [www.mapjumpers.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz/2833984606/619508292556
2025/12/01 18:38:22 [INFO] [www.mapjumpers.com] acme: authorization already valid; skipping challenge
2025/12/01 18:38:22 [INFO] [www.mapjumpers.com] acme: Validations succeeded; requesting certificates
2025/12/01 18:38:23 [INFO] [www.mapjumpers.com] Server responded with a certificate
Then I enter these commands:
sudo mv /opt/bitnami/apache/conf/bitnami/certs/tls.crt /opt/bitnami/apache/conf/bitnami/certs/tls.crt.old
sudo mv /opt/bitnami/apache/conf/bitnami/certs/tls.key /opt/bitnami/apache/conf/bitnami/certs/tls.key.old
sudo ln -sf /opt/bitnami/letsencrypt/certificates/mapjumpers.com.key /opt/bitnami/apache/conf/bitnami/certs/tls.key
sudo ln -sf /opt/bitnami/letsencrypt/certificates/mapjumpers.com.crt /opt/bitnami/apache/conf/bitnami/certs/tls.crt
Then I type:
sudo chown root:root /opt/bitnami/apache/conf/bitnami/certs/server*
And I get this error:
chown: cannot access '/opt/bitnami/apache/conf/bitnami/certs/server*': No such file or directory
Then I type:
sudo chmod 600 /opt/bitnami/apache/conf/bitnami/certs/server*
And I get this error:
chmod: cannot access '/opt/bitnami/apache/conf/bitnami/certs/server*': No such file or directory
I found these two links from people who have similar problems in the Forum:
In one of the threads, the moderator asks a user to type the command
ls -l /opt/bitnami/apache/conf/bitnami/certs/server*.
When I do this, I get the following:
`ls: cannot access '/opt/bitnami/apache/conf/bitnami/certs/server*': No such file or directory
Also, when I run the Bitnami Diagnostic tool, the Apache section shows me the following errors:
The Apache configuration has errors:
AH00526: Syntax error on line 18 of
/opt/bitnami/apache/conf/bitnami/bitnami-ssl.conf:
Press [Enter] to continue:
SSLCertificateFile: file '/opt/bitnami/apache/conf/bitnami/certs/tls.crt' does not exist or is empty.
Please check the configuration.
Can you help me solve this? Thanks in advance.