You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-06-22 13:35:12

GpTorino
Member
Registered: 2022-06-16
Posts: 12

Problems in setting up email receiver.

Hello my name is Giuseppe and i work as software specialist in the IT team of my company, we are using GLPI since 2020 and I deployed it on our server.
We are currently trying to configure the mail receiver in order to be able to get new ticket and updates from the users via mail. We tried both POP and IMAP configuration for office 365 without success (we have no problem in sending update notification to users but we cannot receive the reply via mail).
I saw that we need to set up an Oauth authorization I did everything as instructed in the glpi documentation but when I try to create the actual authorization, I receive this error:

Uncaught Exception GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate

None of the information found at the suggested link is of any help.

We are currently using IIS as server and a Linux reverse proxy and everything seems to be fine (except the Oauth authentication issue of course ).

What is not correct in my setup? How can I fix it?

Many thanks in advance to all.

Offline

#2 2022-06-22 19:53:18

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Problems in setting up email receiver.

Curl is missing the root certificates (or doesn't know where they are) so it cannot validate any SSL certificates.
Here are instructions for resolving the issue under Linux:
https://stackoverflow.com/a/31830614

I do not know IIS at all so I am not sure how to adjust the process for you.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2022-06-23 11:25:06

GpTorino
Member
Registered: 2022-06-16
Posts: 12

Re: Problems in setting up email receiver.

Thanks.

The solution the information the link you sent worked, if anyone else is using IIS, just download the certificate from the link above and add the following line at the end of your PHP.INI file

curl.cainfo="unit:\path\to\downloaded\cacert.pem"

Offline

#4 2023-12-19 09:25:36

Odisefs
Member
Registered: 2022-10-18
Posts: 7

Re: Problems in setting up email receiver.

GpTorino wrote:

Thanks.

The solution the information the link you sent worked, if anyone else is using IIS, just download the certificate from the link above and add the following line at the end of your PHP.INI file

curl.cainfo="unit:\path\to\downloaded\cacert.pem"

Yes that worked with my system also (IIS , OAUTH, Exchange 365)

Please take note that I had to download the latest version of cacert.pem instead of the 22/08/2023 edition that I had already installed.

Kudos to both of you!

Offline

Board footer

Powered by FluxBB