-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Email function should also have an option to accept any SSL certificate #15
Comments
So, to be clear, you're asking that the mail package just accept the certificate that the E-Mail server is offering and not verify it, right? If so, it's easy to do that. However, there's a change in flight (issue #14) that is changing the format of the global initialization file slightly for mail configuration. It's a trivial editing change, but I have a preference of making the change AFTER #14 goes in, and thus only supporting this feature request (and any other new features) in the new format. The full story is this:
So here, I want to make a change (something like Rather than support this in both the old and new formats, I'd rather just add this to the new format. So, @GH-User this is easy to do. But would you mind waiting a few weeks (however long @boedy needs to finish up the framework for his new feature) before I made this change? If urgent for you, I'll work something out, but waiting a bit would make this somewhat easier for me (and avoids @boedy doing merges) if we wait a bit. Let me know, thanks. |
Many thanks for your quick response!
Yes, that's right.
No problem at all to wait. At the moment I'm using a free SMTP relay service with a valid certificate for sending the emails as a workaround and it works well. Thanks again! |
If a local email server is being used, it's likely that the email server is using a self-signed certficate. Allow insecure certficates based on new configuration setting email.acceptInsecureCerts. Fixes issue #15
Added new global configuration flag for this. Note that this is ONLY supported via the new configuration format. Instructions will be in the
Only set this if you build from source or download
Closing this issue since it's resolved and pushed to master. |
Feature request: Email function should also have an option to accept any SSL certificate like a self signed cert. At the moment it only accepts certificates quite strict. Therefore I can't use my own email server that just uses self signed cert. Every email client has such an option and it would be great to have that here too.
Thanks!
The text was updated successfully, but these errors were encountered: