Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bndiagnostic ID: 312f7167-c9f1-78db-0bcf-8373dba763bf
bndiagnostic output:
? Apache: Found possible issues
? Connectivity: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/general/faq/administration/use-firewall/
bndiagnostic failure reason: The suggested guides are not related with my issue
Description:
Wanted to renew letsencrypt certificate, but it showed up error as the files were missing. After looking for various solution on this forum, it turned out to be broken certbot as folders like live an other were missing in directory. Hence removed and reinstalled the bot and certificates. Everything added up perfectly as directed, but still ended up with ERR_SSL_PROTOCOL_ERROR. Modified Apache files and checked for bitnami.conf and httpd.conf . bitnami.conf seems weird as it does not contain any certificate info. No modifications were made in httpd.conf. Bitnami diagnostic tool shows following error detected.
[Apache Error log]
[core:error] [pid 7591:tid 139858471208704]
[client ip_address:37476] AH10244: invalid URI path
(/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/hosts)
[core:error] [pid 17609:tid 139858311747328]
[client ip_address:50658] AH10244: invalid URI path
(/cgi-bin/.%2e/.%2e/.%2e/.%2e/bin/sh)
[Apache configuration error]
httpd: Syntax error on line 523 of /opt/bitnami/apache2/conf/httpd.conf: Syntax
error on line 7 of /opt/bitnami/apache/conf/bitnami/bitnami.conf: Expected
but saw
[bitnami.conf]