Unable to renew my SSL Certificate

Keywords: General - AWS - How to - Secure Connections (SSL/HTTPS)
Description:
Looks like I’ve nuked the Apache config files somewheree.
Here’s the output:

 sudo /opt/bitnami/ctlscript.sh stop apache
Unmonitored apache
httpd.bin: Syntax error on line 562 of /opt/bitnami/apache2/conf/httpd.conf: Syntax error o
n line 22 of /opt/bitnami/apache2/conf/bitnami/bitnami.conf: Include takes one argument, Na
me(s) of the config file(s) to be included; fails if the wildcard does not match at least o
ne file
apache config test fails, aborting

Here’s the support bundle code:
dcc178f5-3f0c-a8a3-f4c4-da094a335993

Hi @jdr.rohan,

On line 22 in the /opt/bitnami/apache2/conf/bitnami/bitnami.conf file you have to add a newline:

Include "/opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf" </VirtualHost> 

Must be changed to:

Include "/opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf"
 </VirtualHost>

And then restart Apache:

sudo /opt/bitnami/ctlscript.sh restart apache

Regards,
Michiel

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