kutt
kutt copied to clipboard
Add "ignore cert trust" as param in .env
please add something along the lines of:
tls: {rejectUnauthorized: process.env.MAIL_CHECKCERT === "true",}
To mail.js nodemailer transport. My cert doesnt match the internal ips or internal domain when acc the mail server from within LAN. A direct smtp send without auth would be good too.
THX
I think it would be better to add an env var to NOT check certs, instead of making it required, checking should be the default, env var to disable would be the option.
For the PostgreSQL connection it's similar.
Even after patchingknexfile.ts
with ssl: { rejectUnauthorized: false }
it fails with:
(sorry for the image! I don't have it as text anymore)