logstash/logstash — pull request #1092 by subsection (2014-02-19 14:18:37+00:00)
Title: Added option to disable certificate validation in the IMAP input

If a IMAP-server is using a self-signed certificate, this patch adds a "verify_cert" option to the module that is by default set to true (old behavior), but if set to false it will disable the verification check. The result is that IMAP TLS with self-signed certificate will not crash logstash.