Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

TLS/SSL failure for...
 
Notifications
Clear all

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

6 Posts
2 Users
0 Reactions
2,581 Views
(@froutier)
Posts: 34
Active Member
Topic starter
 
[#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


 
Posted : 16 Oct 2022 17H07
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 16 Oct 2022 17H30
(@froutier)
Posts: 34
Active Member
Topic starter
 

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...


 
Posted : 17 Oct 2022 11H54
(@froutier)
Posts: 34
Active Member
Topic starter
 

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 ?


 
Posted : 17 Oct 2022 12H02
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 27 Oct 2022 13H32
(@froutier)
Posts: 34
Active Member
Topic starter
 

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


 
Posted : 27 Oct 2022 16H19
Share:

Scroll to Top