I have installed NodeBB v1.14.2 for testing purposes, following the official docs here and here.
The server has Ubuntu 18.04 and Apache. Now, everything seems to be working as expected. I can log in, create users and posts, add plugins etc. The only problem that I face is that NodeBB can't verify my Let's Encrypt certificate and so the emails (postfix) don't work.
The error I get is this:
2020-07-27T10:04:43.513Z [4567/18696] - [31merror[39m: Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1501:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:936:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:710:12)
Can someone point me to the right direction for solving this? I would prefer not to use a third-party service, since that would mean I have to change postfix settings for every other website on the server.
Thank you in advance.