Closed docmedia2 closed 1 month ago
The error is clear, the certificate file you configured doesn't exist
AH00526: Syntax error on line 5 of
/opt/bitnami/apache/conf/vhosts/wordpress-https-vhost.conf: SSLCertificateFile:
file '/opt/bitnami/apache/conf/yardbots.ca.crt' does not exist or is empty
Please ensure the file exists and restart Apache to start using it.
Hello Juan, thank you for your assistance. I have confirmed that the file exits, but it is empty (see attached). Is there a way to create a new certificate file to replace the old one? As I mentioned in the first part of my ticket, another certificate and key file exists for the www version of the domain, which is not empty and looks good.
If I cannot replace the empty cert file and key file, can I remove them and just use the www version?
Thanks again for your time. -Dave
Hello Juan, I was able to fix this issue by following the alternative process for SSL https://docs.bitnami.com/general/how-to/generate-install-lets-encrypt-ssl/#alternative-approach))
Once the certificates were installed manually, it allowed me to restart services, and everything seems to be working now. Thanks for putting me on the right path.
-Dave
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
Platform
AWS
bndiagnostic ID know more about bndiagnostic ID
57c79d01-df57-c25d-3cab-cecfacc433e0
bndiagnostic output
===== Begin of bndiagnostic tool output =====
? Apache: Found possible issues ✓ Mariadb: No issues found ? Connectivity: Found possible issues ✓ Wordpress: No issues found ? Resources: Found possible issues ✓ Processes: No issues found ✓ Php: No issues found
[Apache]
Found recent error or warning messages in the Apache error log.
Please check the following guide to troubleshoot server issues:
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro rs-apache/ The Apache configuration has errors:
Please check the configuration.
[Connectivity]
Server ports 22, 80 and/or 443 are not publicly accessible. Please check the Press [Enter] to continue: following guide to open server ports for remote access:
https://docs.bitnami.com/general/faq/administration/use-firewall/
[Resources]
Your instance has little available RAM memory.
You could try to increase your instance's memory. Please check your cloud provider's documentation for more information.
===== End of bndiagnostic tool output =====
bndiagnostic was not useful. Could you please tell us why?
I ran bndiagnostic tool, there are things I don't understand well enough to tackle myself.
Describe your issue as much as you can
I ran into this issue after trying to reinstall an SSL Certificate after having to adjust my DNS Records after switching domain registrars.
These are the steps as best as I can remember that created this error:
This is where it gets foggy...
Thought that maybe I didn't restart the services, which was true, so I tried restarting with sudo /opt/bitnami/ctlscript.sh start, and received: Starting services.. Job for bitnami.service failed because the control process exited with error code. See "systemctl status bitnami.service" and "journalctl -xe" for details. systemctl status bitnami service gave me: ● bitnami.service - LSB: bitnami init script Loaded: loaded (/etc/init.d/bitnami; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sun 2024-09-01 20:38:13 UTC; 1min 16s ago Process: 2468 ExecStart=/etc/init.d/bitnami start (code=exited, status=1/FAILURE) Failed to start LSB: bitnami init script.
So I tried checking the service status using sudo /opt/bitnami/ctlscript.sh status and received the following message: Cannot find any running daemon to contact. If it is running, make sure you are pointing to the right pid file (/var/run/gonit.pid)
Here's where I am now stuck.