-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Peer certificate not verified with IMAP-STARTTLS? #163
Comments
the Fetch library is coming from tedious/Fetch and is used as it is. See: https://github.com/tedious/Fetch/blob/master/src/Fetch/Server.php#L134 Do you see the necessity for the user to set the flag manually? See IMAP Flag. |
Hi, No, I do not see necessity for setting it manually, but I'd go a step ahead and re-set the validate-cert flag without question. |
I think there should be a possibility to set such flags (/ssl/novalidate-cert f. e.) in the planner task. |
@responseinformationsdesign that would be OK, but only when there is a note that this is highly insecure, and that there are better solutions to such issues, e.g. updating ca certificates on OS level. And, by default that flag should be off |
Can you explain why you do not per default validate the IMAP peer certificate in STARTTLS mode?
To me this looks like a bad practice solution to SSL errors (as they are often found as "accepted answers" on stack overflow or similar.)
direct_mail/Resources/Private/Php/Fetch/src/Fetch/Server.php
Line 134 in 99858ef
The text was updated successfully, but these errors were encountered: