Closed mihha closed 3 years ago
This is missing SNI. See this issue for details.
A workaround is to set imap.tlsOptions.servername
to imap.gmail.com
in your config. E.g.:
const config = {
imap: {
host: 'imap.gmail.com',
port: 993,
tls: true,
user: 'youraccount@gmail.com',
password: 'yourpassword,
tlsOptions: { servername: 'imap.gmail.com' }
}
};
Hi guys!
I apologise for opening an issue here if it really is not an issue but didn't know how to reach you otherwise
I wonder if you could help me with one small issue
Let me try to explain the situation. I am using one node application which is implementing your module
I have the following setup:
When you start this application normally, you will see the following error
If I set NODE_TLS_REJECT_UNAUTHORIZED=1 the application throws the following error
It seems that your module is throwing an error but I don't know how to let it know that I have LetsEncrypt certificate which it should use?
Guys who are developers of n8n application claims that the issue is within imap-simple module and because of that, they don't plan to fix it in their application
Would you have a possible hint on how to solve this issue?
Thank you in advance!
Regards, Igor