Page 1 of 1

GMail IMAP from within localhost?

Posted: Mon Sep 29, 2008 3:44 pm
by alex.barylski
This is the error I am getting when I try and connect to GMail IMAP service from my localhost (behind a router). Everything works fine when I try from my shared server...

Code: Select all

Warning: imap_open(): Couldn't open stream {imap.gmail.com:993/imap/ssl}INBOX in /var/www/mailer/scripts/mail-fail on line 5
can't connect: Certificate failure for imap.gmail.com: unable to get local issuer certificate: /C=US/ST=California/L=Mountain View/O=Google Inc/CN=imap.gmail.com
How do I download this certificate to my local machine so I may connect to GMail IMAP??? :(

Any ideas? Do I just have to open my port to allow remote access to my web server, in conjunction with installing the cert???