Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: PHP fails when using multi-domain certificates Date: Tue, 26 Aug 2014 17:54:27 +0200 Lines: 23 Message-ID: <53FCADB3.8050306@arnowelzel.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Trace: individual.net GFxfzAFGHRu/Up/GftgRTwZrYC8M3zR1EdmtykbSbIIJByBNzG Cancel-Lock: sha1:10SxYomZ+Xldsklq6nmlshqwLnE= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: Xref: csiph.com comp.lang.php:14199 Justus Hoffmann schrieb am 2014-08-26 um 11:21: > Hi everyone, > > I am trying to access an IMAP account via a PHP script using SSL: > > $srv = '{mail.myhost.com:993/imap/ssl}'; > $x=imap_open($srv, $user, $pass); > > The certificate check fails, although the certificate itself is valid: > > Certificate failure for mail.myhost.com: Unable to locate common name in > certificate: /OU=Domain Control Validated/OU=PositiveSSL Multi-Domain Where is the common name (CN)? This is the part which is checked - not the OU. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de http://fahrradzukunft.de