Closed GoogleCodeExporter closed 8 years ago
Have you exported from your Mac the PEM
[http://code.google.com/p/apns-php/wiki/CertificateCreation#Verify_peer_using_En
trust_Root_Certification_Authority] and "imported" in your Debian the "Entrust
Root Certification Authority"?
Otherwise I suggest you to disable the verification of the Apple remote peer
commenting out this line:
$push->setRootCertificationAuthority('entrust_root_certification_authority.pem')
;
Ciao,
Aldo
Original comment by aldo.arm...@gmail.com
on 25 Aug 2010 at 3:36
Hi Aldo,
Thanks for your response.
As far as I can tell the Entrust Root Certification Authority crts are present:
$ dpkg-query -L ca-certificates | grep Entrust
/usr/share/ca-certificates/mozilla/Entrust.net_Premium_2048_Secure_Server_CA.crt
/usr/share/ca-certificates/mozilla/Entrust.net_Global_Secure_Server_CA.crt
/usr/share/ca-certificates/mozilla/Entrust.net_Secure_Personal_CA.crt
/usr/share/ca-certificates/mozilla/Entrust.net_Global_Secure_Personal_CA.crt
/usr/share/ca-certificates/mozilla/Entrust.net_Secure_Server_CA.crt
/usr/share/ca-certificates/mozilla/beTRUSTed_Root_CA_-_Entrust_Implementation.cr
t
/usr/share/ca-certificates/mozilla/Entrust_Root_Certification_Authority.crt
and I can verify the .pem used by the PHP code with openssl:
$ openssl verify ../data/certificates/entrust_root_certification_authority.pem
../data/certificates/entrust_root_certification_authority.pem: OK
Disabling verification works but is not a nice solution. I'm lost for things to
try though.
Original comment by dca...@gmail.com
on 25 Aug 2010 at 5:05
[deleted comment]
Hi!
I'm also using Debian (Lenny) on my servers.
Please download the right certificate (in PEM format) from
https://www.entrust.net/downloads/root_index.cfm
I'm able to verify peer using the second one (Entrust CA (2048))
[https://www.entrust.net/downloads/binary/entrust_2048_ca.cer]
Ciao,
Aldo
Original comment by aldo.arm...@gmail.com
on 26 Aug 2010 at 11:55
Original issue reported on code.google.com by
dca...@gmail.com
on 3 Aug 2010 at 5:40