Forced Http to redirect to Https failure - Cacti

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
jjimenez04
Posts: 6
Joined: Wed Feb 24, 2021 8:29 pm

Forced Http to redirect to Https failure - Cacti

Post by jjimenez04 »

Good afternoon, I enabled the option in my cacti to force https connections and now I cannot access it, mark me ERR_CONNECTION_REFUSED, someone can guide me I will appreciate your help
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Forced Http to redirect to Https failure - Cacti

Post by cigamit »

Do you properly have HTTPS enabled on your webserver? If not, you may have to edit the DB and change the setting back.

Code: Select all

UPDATE `settings` SET `value` = '' WHERE `name` = 'force_https';
jjimenez04
Posts: 6
Joined: Wed Feb 24, 2021 8:29 pm

Re: Forced Http to redirect to Https failure - Cacti

Post by jjimenez04 »

I have checked the configuration again, including "global_settings.php, however it still does not accept https connections

force_https' => array (
'friendly_name' => __ ('Force Connections over HTTPS'),
'description' => __ ('When checked, any attempts to access Cacti will be redirected to HTTPS to ensure high security.'),
'default' => '',
'method' => 'checkbox',
),

I have disabled the firewalld and I still can't connect locally 127.0.0.1
Attachments
cacti3.PNG
cacti3.PNG (24.15 KiB) Viewed 991 times
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Forced Http to redirect to Https failure - Cacti

Post by cigamit »

You have to configure your WebServer (whatever it may be) to accept HTTPS and setup certs, that is not part of Cacti at all. There are about a billion sites on google that will teach you how to do that part.
jjimenez04
Posts: 6
Joined: Wed Feb 24, 2021 8:29 pm

Re: Resolved Forced Http to redirect to Https failure - Cacti

Post by jjimenez04 »

Thank you very much it was resolved
Attachments
resolvhttps.PNG
resolvhttps.PNG (103.41 KiB) Viewed 990 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests