Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2016-05-28 02:47:20

ryan2012
Member
Registered: 2016-05-28
Posts: 2

smtp do not work self-signed certificate use php 7

tls 587 (starttls donot wok)
ssl 465

Notice: Undefined index: default_from in /data/wwwroot/livehelp.****.com/lib/core/lhchat/lhchatmail.php on line 25

Notice: Undefined index: default_from_name in /data/wwwroot/livehelp.****.com/lib/core/lhchat/lhchatmail.php on line 29

error shows can not connect to mail host
but it works for php 5.5
please resolve it
thanks

also gmail can not work too
it shows

SMTP Error: Could not authenticate.

tls://smtp.gmail.com
465
with email address and password

livehelperchat version 2.46

but it works on zoho.com
tls
465

Last edited by ryan2012 (2016-05-28 02:50:28)

Offline

#2 2016-05-28 07:51:00

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: smtp do not work self-signed certificate use php 7

Hi ryan2012,
I have issue with certificate after PHP 5.5 where all works fine. When I try PHP 5.6 I see the same issue with PHP 7 not only in Live Helper Chat but in all my server.

I think this PHP update is a very wrong things ... but maybe it's me who I need understand what change in the new PHP where for me nothing is working with valid SSL certificate.
Maybe your issue is not only related to Live Helper Chat?

Are you sure are only Live Helper Chat Issue? Have you tried other software SMTP settings with PHP 7? It works?


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2016-05-28 15:54:17

ryan2012
Member
Registered: 2016-05-28
Posts: 2

Re: smtp do not work self-signed certificate use php 7

i put ca file path in php.ini  wordpress postman smtp works with self-signed certificate smtp server
but livehelperchat was wrong

if no cafile path in php.ini livehelperchat works with zoho tls 465  but gmail and self-signed certificate smtp server with error
also wordpress postman smtp with error

php versioon is php 7
but if use php5.5 all works

Offline

#4 2016-05-29 08:30:10

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: smtp do not work self-signed certificate use php 7

Hi ryan2012,
I think this is not an issue with Live Helper Chat but is with the new version of PHP after the version 5.5 in all way we need be sure livehelperchat support php 7, maybe not already however I can tell you in those day I have tried to migrate from PHP 5.5 to PHP 5.6 and the issue is the same with PHP 7 not only in live helper chat but in all application I have.

I have not tried with gmail account but mine personal email account who use a valid SSL and I have the same issue: all connection to the email fails.
I have not already found a solution.

What I can tell to you is you can look at php documentation here:
I really never understand and like the edit of PHP.

http://php.net/manual/en/migration56.php
http://php.net/manual/en/migration56.openssl.php

Have a great time.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#5 2016-05-29 11:42:43

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: smtp do not work self-signed certificate use php 7

You can also look at this discussion: http://www.softaculous.com/board/index. … nd_PHP_5.6
maybe can help you. I AM working on FIX PHP 5.6 and SSL issue also in my server.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#6 2016-05-29 14:02:05

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: smtp do not work self-signed certificate use php 7

Issue solved with PHP 5.6 for me.
You need a valid certificate after that you have to set in your php.ini of PHP 5.6 or 7 this line:

[openssl]
openssl.cafile= /path/to/your/.ca-bundle

where you have to replace "/path/to/your/.ca-bundle" with your patch to ca-bundle and all will work fine.
Maybe for Self-Sigend certificate you need a valid ca-bundle file, don't know if without valid SSL you will able to solve but try, maybe yes smile

Thank you to SSLS.com Staff who helped me to solve PHP 5.6 and SSL issue; I AM always an happy customer of them.

Last edited by PeopleInside (2016-05-29 19:42:59)


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#7 2018-10-31 10:58:54

alexmorco
Banned
Registered: 2017-08-26
Posts: 2

Re: smtp do not work self-signed certificate use php 7

Configuring WordPress SMTP (*link removed*) is much easier if there's any easy guide, you can read more about it with this guide.

Last edited by PeopleInside (2018-10-31 12:10:56)

Offline

#8 2018-10-31 12:12:23

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: smtp do not work self-signed certificate use php 7

alexmorco , this is the third time i remove promotional URL. Your profile has been banned.
Your profile as new member are also not allowed to post links.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer