-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
EMail: Ignore TLS error doesn't suppress selfsigned cert errors #2999
Comments
I've had a similar error recently, on the same version of Uptime-Kuma (1.21.1 on Alpine) I wanted to use the internal SMTP relay server to send email notifications. The thing that fixed it for me was to remove the options to "Ignore TLS Error", this way the test worked fine and I received the message: It seems that with that configuration selected it switched automatically on port 587 with TLS, without it is used port 25 and None. This is not so clear in the web UI or in the docs. uptime-kuma/server/notification-providers/smtp.js Lines 11 to 18 in f8f19d8
In particular line 16, where notification.smtpIgnoreTLSError can be set with that checkbox "Ignore TLS Error" in the notification setup. I know that this is not the same situation for the bug that @otbutz had, but It's the only similar result that I found on the github issues. If needed I can open another issue to keep track also of this behaviour, I think that changing a bit the UI to explain better how to use the security as "None" on port 25 could be useful for other users. Thanks. |
I fixed this adding This was very helpful ##602 |
🛡️ Security Policy
Description
The flag
Ignore TLS error
doesn't suppress errors generated by selfsigned certificates:👟 Reproduction steps
EMail (SMTP)
TLS
securityIgnore TLS error
Test
👀 Expected behavior
The TLS error should be ignored.
😓 Actual Behavior
self signed certificate in certificate chain
🐻 Uptime-Kuma Version
1.21.1
💻 Operating System and Arch
Ubuntu 22.04
🌐 Browser
Firefox
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
The text was updated successfully, but these errors were encountered: