Doichain / dapp

Doichan dApp - a Meteor.js implementation of the "Doichain Atomic Double-Opt-In" Protocol
https://www.doichain.org
MIT License
6 stars 6 forks source link

certificate has expired [emails.send.exception] and other problems with smtp certificates #19

Closed silkroadnomad closed 4 years ago

silkroadnomad commented 6 years ago

in many cases the smtp server to which we are sending our DOI-request emails, has an incorrect correct SSL-certificate. a workaround to this problem right now was to allow invalide SSL certificates from setting: process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0; in https://github.com/Doichain/dapp/blob/0.0.3/imports/startup/server/email-configuration.js#L29

this should be possible to be enabled in settings.json as an exception and not as right now as default. See: