ERROR when nodebb sends emails with lets encrypt certificate on domain
Solved
Technical Support
-
Hi all,
I have a nodebb instance running on ubuntu with PLESK.
Everything woorks fine untl now.
After I upgraded to v3.4.2 I realized in the logs that nodebb is not sending any emails due to the following error:2023-09-27T12:23:06.842Z [4567/2922161] - [31merror[39m: [emailer.send] Error: self-signed certificate at TLSSocket.onConnectSecure (node:_tls_wrap:1550:34) at TLSSocket.emit (node:events:514:28) at TLSSocket._finishInit (node:_tls_wrap:967:8) at ssl.onhandshakedone (node:_tls_wrap:743:12) at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) 2023-09-27T12:36:26.424Z [4567/2922161] - [31merror[39m: [emailer.send] Error: self-signed certificate at TLSSocket.onConnectSecure (node:_tls_wrap:1550:34) at TLSSocket.emit (node:events:514:28) at TLSSocket._finishInit (node:_tls_wrap:967:8) at ssl.onhandshakedone (node:_tls_wrap:743:12) at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)
I wonder why this is a problem now in v3.4.2 since it worked in all previous versions, at least for me.
Any suggestions why that is, and how to solve?
-
@tecy This is because Plesk is using the incorrect certificate. To be fair, it wouldn't be NodeBB causing this, but Plesk itself. Can you check the domain in question, and see which certificate Plesk has assigned?
This is quite a common phenomena in Plesk sadly - see
-
-
@phenomlab
You made my day! 5 rating
Copyright © 2024 NodeBB | Contributors