Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14842

Re: Help needed with PHP Imap for Gmail (Unable to get local issuer certificate)

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: Help needed with PHP Imap for Gmail (Unable to get local issuer certificate)
Date Thu, 29 Jan 2015 01:57:31 +0100
Organization solani.org
Lines 24
Message-ID <mac0hj$dn2$1@solani.org> (permalink)
References <1d057c06-96f1-42fa-9904-2fad53e81c15@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1422493043 14050 eJwFwQkBwDAIA0BLpZTA5BAe/xJ2ZwpB+YPh2dp2Yokzl4xS9qjYsr0dOCkm7BuflHAiE/kDOl0SDQ== (29 Jan 2015 00:57:23 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Thu, 29 Jan 2015 00:57:23 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
X-User-ID eJwFwYEBwCAIA7CXANuC72za/08w4VLqb4gCTfvUnmk4RPQ3hVjhuJomp3R6e6UTleeC9QD9rg/I
In-Reply-To <1d057c06-96f1-42fa-9904-2fad53e81c15@googlegroups.com>
Cancel-Lock sha1:U7dF6U3nOedMr5U2FeahiOAKs8Q=
X-NNTP-Posting-Host eJwNw4ENwDAIA7CXoCPpOIdS8v8JmyXjobN3EAwIkpJ188xGW4ov3U2YOzzhlfi31dJaGI4+LI0Rng==
Xref csiph.com comp.lang.php:14842

Show key headers only | View raw


Raghavan M wrote:

> I am trying to use PHP IMAP API for accessing my Gmail inbox. I have
> been following the code given in the URL :
> http://davidwalsh.name/gmail-php-imap. Just that I have removed the
> Javascript <script> tag and CDATA element.
> 
> I am getting the following error when I run my PHP file. I use XAMPP
> in my Macbook.
> 
> Notice: Unknown: Certificate failure for imap.gmail.com: unable to
> get local issuer certificate: /C=US/O=GeoTrust Inc./CN=GeoTrust
> Global CA (errflg=2) in Unknown on line 0.
> 
> I have been searching the Internet for more than 3 hours (links to
> Google Groups, StackOverflow, ServerFault etc., websites but nothing
> to avail).

Maybe this helps:
<http://stackoverflow.com/questions/1274911/connecting-to-gmail-through-imap-with-php-ssl-context-failed#answer-1290541>.

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Help needed with PHP Imap for Gmail (Unable to get local issuer certificate) Raghavan M <raghavan.30may1981@gmail.com> - 2015-01-26 18:48 -0800
  Re: Help needed with PHP Imap for Gmail (Unable to get local issuer certificate) Doug Miller <doug_at_milmac_dot_com@example.com> - 2015-01-28 15:54 +0000
    Re: Help needed with PHP Imap for Gmail (Unable to get local issuer certificate) Raghavan M <raghavan.30may1981@gmail.com> - 2015-01-28 16:32 -0800
  Re: Help needed with PHP Imap for Gmail (Unable to get local issuer certificate) "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-29 01:57 +0100
  Re: Help needed with PHP Imap for Gmail (Unable to get local issuer certificate) maria.adroit7786@gmail.com - 2015-02-02 06:33 -0800

csiph-web