Skip to main content

Hi,
We are in 22.10.7 Business Edition on Debian 11.
We have an authentication issue only with HTTP, no problem with HTTPS.

With HTTP, users authent successfully, and we can see them in log file /var/log/centreon/login.log


But we get the following error in apache error.log

 Âproxy_fcgi:error] ]pid 10112] ]client **********:49267] AH01071: Got error 'PHP message: CRITICAL: You are not authorized to access this resource {"context":":object] (Symfony\\\\Component\\\\Security\\\\Core\\\\Exception\\\\AccessDeniedException(code: 403): You are not authorized to access this resource at /usr/share/centreon/vendor/symfony/framework-bundle/Controller/AbstractController.php:358)"}\n', referer: http://srvmonitor.age.essec.fr/centreon/login

 

We get the following message on the GUI
 

👋

 

@xsamson So you want to run under https or http? do you update your apache ini file to match all the changes? from http → https and from https → http?

🤔


Hi,

I want to run under http, because MAP doesn’t work in https.
Currently I need to let https access because same users need to access to the platform.

 

So currently I have enabled http (which doesn’t work) and https which work without MAP


Hello, you need to have both MAP and Centreon under https for them to work as newer browsers block this interaction if only one is not secure. Then you need to look into your certificates and confirm that they are valid and both fall under a common CA. Does the MAP and Central work if you have both as HTTP?


Yes MAP and Central work when we are both as HTTP


Reply