Forum

TLS/SSL failure for...
 
Notifications
Retirer tout

TLS/SSL failure for mail.gandi.net: SSL negotiation failed

6 Posts
2 Utilisateurs
0 Reactions
2,556 Vu
(@froutier)
Posts: 34
Trusted Member
Début du sujet
 
[#8563]

Hi,
I installed Projeqtor on Ubuntu.
I am trying to configure an imap access for ticket creation.
My mail provider is Gandi, and I entered {mail.gandi.net:143}INBOX as server .

I get the following error:
TLS/SSL failure for mail.gandi.net: SSL negotiation failed

What should I check to overcome this problem ? (Configuration ? Php version ? Openssl version ? ...)
Thanks
Franck


 
Posté : 16/10/2022 5:07 pm
(@babynus)
Posts: 14952
Membre Admin
 

try
{mail.gandi.net:143/novalidate-cert}INBOX
as server


 
Posté : 16/10/2022 5:30 pm
(@froutier)
Posts: 34
Trusted Member
Début du sujet
 

It didn't help.

Here is the log:
2022-10-17 09:40:37.773 ** ERROR ** [V10.1.2] ERROR **
2022-10-17 09:40:37.774
** ERROR ** [V10.1.2] on file '/var/www/projeqtor/model/ImapMailbox.php' at line (86)
2022-10-17 09:40:37.774
** ERROR ** [V10.1.2] cause = imap_open(): Couldn't open stream {mail.gandi.net:143/novalidate-cert}INBOX
2022-10-17 09:40:37.909
** ERROR ** [V10.1.2] Error connecting to Mailbox {mail.gandi.net:143/novalidate-cert}INBOX for myimapuser@mydomain.tld
2022-10-17 09:40:37.909
** ERROR ***** [V10.1.2] TLS/SSL failure for mail.gandi.net: SSL negotiation failed

The environment is:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"

php -v
PHP 8.1.2 (cli) (built: Aug 8 2022 07:28:23) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies

Not sure what else I should look for...


 
Posté : 17/10/2022 11:54 am
(@froutier)
Posts: 34
Trusted Member
Début du sujet
 

I did succeed to connect with {mail.gandi.net:143/imap/notls}INBOX

But I think this is a security rosk and I'm sending my password in plain text, isn't it ?


 
Posté : 17/10/2022 12:02 pm
(@babynus)
Posts: 14952
Membre Admin
 

Yes, and not only your password, all email data...
Ask Gandi about a better way to work with them.


 
Posté : 27/10/2022 1:32 pm
(@froutier)
Posts: 34
Trusted Member
Début du sujet
 

Ok, I managed to get it working with SSL instead of TLS:

{mail.gandi.net:993/ssl}INBOX

Nevertheless, I asked Gandi for support on using TLS, just to understand. I'll keep the list informed if I get a relevant feedback.

Franck


 
Posté : 27/10/2022 4:19 pm
Share:
Retour en haut