passbolt_api icon indicating copy to clipboard operation
passbolt_api copied to clipboard

SSL detection not working in healthcheck

Open kevinmuller opened this issue 10 years ago • 3 comments

Issue reported by patpro on twitter:

SSL is not detected properly in healthcheck, even though the healthcheck page is accessed through HTTPS. (cf screenshot below).

screen shot 2016-10-19 at 22 09 12

Ticket reference: PASSBOLT-1721

kevinmuller avatar Oct 19 '16 20:10 kevinmuller

Just in case you have not dug into this, it's quite easy to fix. Change file app/Controller/HealthCheckController.php to use this line:

$this->_checks['ssl'] = ($this->request->is('ssl') && configure::read('App.ssl.force'));

instead of that one:

$this->_checks['ssl'] = ($this->request->is('ssl') && configure::read('app.ssl.force'));

(app becomes App).

p4tpr0 avatar Nov 04 '16 22:11 p4tpr0

Hi @p4tpr0 yes we found out too. @kevinmuller did a fix for this on our development branch but we haven't released it yet on master. We are a bit caught up with all the exciting Chrome work :)

stripthis avatar Nov 05 '16 05:11 stripthis

Hello @p4tpr0, this issue was fixed with release v1.3.0. Please feel free to reopen the issue if you run into this one again.

stripthis avatar Nov 28 '16 06:11 stripthis