Post by KaitoKid1990 » Wed Jul 21, 2021 8:25 pm

Hello,

since some weeks we get this error in log:

2021-07-21 14:15:48 - PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version in /var/www/vhosts/domain/httpdocs/system/library/mail.php on line 221

it's sometbing with the TLS Connection. Our Hoster said we have to upgrade OC or change version of SSL/TLS. But this is not possible

we have 2.3.0.2

is there any fix or extension?

thanks Kaito

Newbie

Posts

Joined
Mon Oct 26, 2020 5:55 pm

Post by straightlight » Wed Jul 21, 2021 9:06 pm

KaitoKid1990 wrote:
Wed Jul 21, 2021 8:25 pm
Hello,

since some weeks we get this error in log:

2021-07-21 14:15:48 - PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version in /var/www/vhosts/domain/httpdocs/system/library/mail.php on line 221

it's sometbing with the TLS Connection. Our Hoster said we have to upgrade OC or change version of SSL/TLS. But this is not possible

we have 2.3.0.2

is there any fix or extension?

thanks Kaito
Contact your host and ask them to have the crypto server library enabled. It is useful with port 587, in this case.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ADD Creative » Wed Jul 21, 2021 10:31 pm

KaitoKid1990 wrote:
Wed Jul 21, 2021 8:25 pm
Hello,

since some weeks we get this error in log:

2021-07-21 14:15:48 - PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version in /var/www/vhosts/domain/httpdocs/system/library/mail.php on line 221

it's sometbing with the TLS Connection. Our Hoster said we have to upgrade OC or change version of SSL/TLS. But this is not possible

we have 2.3.0.2

is there any fix or extension?

thanks Kaito
Use phpinfo() to find the versions of curl and OpenSSL being used. If they look out of date get your host to update them.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by KaitoKid1990 » Thu Jul 22, 2021 6:25 pm

The Hoster said he cannot to that, because it's not save. Some weeks ago it worked fine. so I think server was updated.

Newbie

Posts

Joined
Mon Oct 26, 2020 5:55 pm

Post by straightlight » Thu Jul 22, 2021 6:37 pm

KaitoKid1990 wrote:
Thu Jul 22, 2021 6:25 pm
The Hoster said he cannot to that, because it's not save. Some weeks ago it worked fine. so I think server was updated.
You could try with port 465 instead of port 587 with the tls:// in the hostname instead of: ssl:// . If that still doesn't solve the issue and your host is not willing to cooperate with the demands, then the best option would be to switch host.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 203 guests