Page 1 of 1

TLS error

Posted: Thu Jul 16, 2020 9:48 am
by andrealonghi
Script URL: https://ticketrsu.gardauno-trasparenza.it/heskrsu
Version of script: 2.8.2
Hosting company: https://www.keliweb.it
URL of phpinfo.php: https://www.gardauno-trasparenza.it/phpinfo.php
URL of session_test.php: https://ticketrsu.gardauno-trasparenza. ... n_test.php
What terms did you try when SEARCHING for a solution: TLS 1.2

Write your message below:

Hi everyone
I have an installation of Hesk version 2.8.2 and I am trying to use the external SMTP service for sending notifications to customers.
Hesk tries to use the mailbox configuration parameters but is unable to send messages.
The error is as follows

Resolving SMTP server domain "smtps.pec.aruba.it" ...
Connecting to SMTP server "smtps.pec.aruba.it" port 465 ...
Could not connect to the host "smtps.pec.aruba.it": Connection refused


TLS 1.2 must be used for the connection (it is a certified PEC mailbox)

The mailbox manager confirmed to us that there are no obstacles to use by automatic customer management systems such as Hesk. So we don't understand why it doesn't work.

Anyone have any ideas?
Thank you !!

Andrea

Re: TLS error

Posted: Thu Jul 16, 2020 3:01 pm
by Klemen
I tried from our server and:

1. I can connect to your SMTP on port 465 if I have "SSL Protocol" ON and "TLS Protocol" OFF in Hesk settings; can you try this?

2. I can connect to your SMTP on port 587 if I have "SSL Protocol" OFF and "TLS Protocol" ON in Hesk settings; can you try this?

3. Can you connect to any other SMTP server on port 465 (with SSL ON/TLS OFF) or port 587 (with SSL OFF/TLS ON), for example Gmail?

Re: TLS error

Posted: Fri Jul 17, 2020 7:12 am
by andrealonghi
Hello
even me from an email client I have no difficulty accessing mail. I am sure I have entered the correct parameters but there is no possibility to manage the certified email account.
However, I know that the TSL protocol must be version 1.2 and I don't know if hesk uses this version or 1.1

for Gmail: my provider block all connection to gmail...

Re: TLS error

Posted: Fri Jul 17, 2020 8:12 am
by Klemen
It's not TLS version issue (that's handled by Hesk but by OpenSSL library on the server, and you have one that supports TLS 1.2).

Have you tried what I suggested? What are the results? Can you connect to ANY smtp server from Hesk (Gmail was just an example), it's possible that the ports are blocked on the server?

Re: TLS error

Posted: Fri Jul 17, 2020 9:37 am
by andrealonghi
I tried what you suggested but I haven't solved it.
However, I tried to use a "normal" email always through port 465 and it works correctly. I believe that the problem is precisely the functionality of the type of mailbox which in Italy has very particular characteristics (mailbox PEC "certified electronic mail") with legal validity.
However, we have decided not to proceed further but to indicate next to the "email" field that the system does not work with PEC mailboxes.
Can you suggest me how I can insert an uneditable text field next to the email field?

Thanks and bye!