Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1830

[3.3.x] Support Forum • Re: Error on Line 1617

$
0
0
phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_messenger.php on line 1617: stream_socket_enable_crypto(): Peer certificate CN=`mboxhosting.com' did not match expected CN=`mail.mblforum.com'
It appears you have SMTP setup to use TLS/SSL with "Verify SMTP peer name" enabled in the phpBB SMTP settings, but the host mail.mblforum.com resolves to is setup with a certificate issued to mboxhosting.com and not mail.mblforum.com.

The quick workaround would be to simply turn off "Verify SMTP peer name", and live with the slightly weakened security posture of not being able to verify the host is whom you expected. And maybe that's the long term solution too, if you find you don't have control over how that certificate is provisioned.

If your host provides PHP "mail()" function support, another workaround or long term solution could be to just turn off SMTP use by phpBB, and instead rely on using the PHP mail() function support provided by your host.

Only your hosting provider could tell you for sure whether you (or they) are able to change the certificate to match the DNS name of the server. Or whether there is a different DNS name provided by your host you could use for SMTP, which would match the configured certificate.

If you installed a different phpBB instance on this same server and it doesn't demonstrate the same behavior, then I would have to guess this second instance is not configured to use SMTP, or is using a different SMTP server, or isn't configured to use SSL/TLS for SMTP, or doesn't have "Verify SMTP peer name" enabled.
I checked with the new board and saw it does not use SMTP so I turned it off on mblforum too.
And then it sent the 'welcome' verification message without error.
But it never arrived.
I created another new user to make sure and the same: all apparently okay but never arrived.
My new user email addresses all go via a filter to I created yet another that did not go via a filter but came straight to me.
It didn't arrive either.

I sent 'test email' from both boards.
Nothing arrived from either.

I created another new user on the 'good' board just to make sure it is okay, wholly and sure enough, it worked.
I tested that new user by logging him in. No problems.

So: Test messages do not arrive from either board.
Verify emails from mblforum do not arrive. So cannot complete the new registration process.

Gets tedious and challenging thinking up new users and emails. Is there an easier way?

Statistics: Posted by abrogard — Tue Apr 16, 2024 11:14 pm



Viewing all articles
Browse latest Browse all 1830

Trending Articles