Page not reachable after bncert-tool

Hi all,

I tried to use the bncert-tool and configured it in the following way:

Enable HTTP to HTTPS redirection [Y/n]: Y
Enable non-www to www redirection [Y/n]: n
Enable www to non-www redirection [y/N]: n

Now, when I enter the url I get “Forwarding Error”.

I executed the bnsupport-tool (fc66ec6c-adb2-029a-d5c3-9f2d052a4a47) if this helps. Looking forward for a good idea how to solve that :slight_smile:


Hi @christopher.schuetze,

You need to enable SSL in the application as well. The following guide shows how:

But first you need to disable the redirection temporarily to access the application. You can do that by commenting out (adding # in the beginning of the line) the following lines in /opt/bitnami/apache2/conf/bitnami/bitnami.conf

  RewriteEngine On
  RewriteCond %{HTTPS} !=on
  RewriteCond %{HTTP_HOST} !^localhost
  RewriteCond %{HTTP_HOST} !^[0-9]+.[0-9]+.[0-9]+.[0-9]+$
  RewriteCond %{REQUEST_URI} !^/\.well-known
  RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]

Then restart Apache:

sudo /opt/bitnami/ restart apache

After that you can follow the steps in the previously mentioned guide and reenable forcing HTTPS by uncommenting the same lines in the bitnami.conf file and restarting apache.


1 Like

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