I am Hack Sparrow
Captain of the Internets.

Solution to PHP imap_open Invalid Certificate Failure (Self-signed certificate or untrusted authority)

When you try to do this: [php] $mbox = imap_open('{mail.domain.com}INBOX', 'user@domain.com', 'userpass'); [/php] You get this warning: Warning: imap_open() [function.imap-open]: Couldn't open stream {mail.domain.com:143}INBOX in E:\Projects\mailer\main.php on line 4 Notice: Unknown: Certificate failure for mail.domain.com: Self-signed certificate or untrusted ...