Error on line 46

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: www.sabreez.com

I ran this command: sudo /opt/bitnami/ctlscript.sh start

It produced this output: AH00526: Syntax error on line 46 of /opt/bitnami/apache2/conf/bitnami/bitnami.conf:
SSLCertificateFile: file ‘/opt/bitnami/apache2/conf/server.crt’ does not exist or is empty
apache config test fails, aborting

My web server is (include version): Amazon Lightsail

The operating system my web server runs on is (include version): Wordpress

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Wordpress and AWS

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): current

Hi @scott

looks like you have deleted your used certificate. That's always wrong.

So check your documentation to find or create a self signed certificate. Then use that so your apache is able to start.

PS: Your earlier topic:

Make sure that the certificate is not being used by your Bitnami installation, before you decide to do that

Looks like you didn't read that.

Thank you Juergen. I have a backup of the AWS instance that I can go back into and start over again. The certificate expired on September 5. What is the proper way to get a new certification? As you noted, I had this problem last year. Both times I followed this protocol. https://youtu.be/uwYH83OFGTo

You have already a certificate. So do that again. If the automation doesn’t work, there is something wrong.

Thank you for your help Juergen. The backup is working with the expired certificate. I’ve gone through the steps to load certbot again. I’m just not clear on how to install the new certificate issued today.

I’m following the apache-ubuntu instructions here. https://certbot.eff.org/lets-encrypt/ubuntuxenial-apache

I managed to figure it out. Thank you Juergen.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.