-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AAAA Certificate Services root certificate installation, realy needed? #128
Comments
I'm not good at security related issues, so I can't advice anything here. |
If you want to be independent from server configuration you can use this #124 (comment) or in this form:
Where
More info here:
|
Hi marcorocca, thanks a lot for your very valuable feedback. In my case, I tried both "solutions":
Unfortunately the result is still the same: I think there is something I don't understand with this root certificate handling. APNS doc states teh we have to install AAAA certificate from Sectigo and the link (https://support.sectigo.com/Com_KnowledgeDetailPage?Id=kA03l00000117cL) shows in fact 3 certif to download: Am I supposed to download all 3 cert or only the first one? Once I have this/these cert, what should I do on my debian server? What do you mean with "CAs must be saved in the hashed form"? Should I "hash" one or all cert downloaded from Sectigo? Thank you in advance for your help. |
Hello @baden32 you can download the certificates here from Apple:
Please make sure you rename them exactly in Copy them in a single directory, |
Hello, Establish a Trusted Connection to APNs With Geotrust CA, there is no problem because it's a .pem and I can use it directely when $client ins initiated: We now should use the AAACertificateServices certificate from Sectigo. The link on Sectigo available on APNs doc (https://support.sectigo.com/Com_KnowledgeDetailPage?Id=kA03l00000117cL) shows 3 certificates: I downloaded all 3 .crt in my /home/transn/web/testapns/cert/. But when $client is defined using this path notification sending fails with unable to get local issuer certificate error. Am'I doing something wrong with these certif? |
I think there is something wrong with the CAs in the link, one of them is the same linked in Apple site ( Note: |
You're right, thanks a lot! My only "problem" now is to be sure that it will work after March 29 using this GeoTrust_Global_CA? What's your idea here? |
After March 29 Apple's servers will request a CA with ee64a828 hash. So, if it's in your cert directory, it will work. You only have to leave both in your CA directory. |
Ok thanks a lot for your feeddback. I put both CA in xxx.0 hash in the same directory. Hope everything will still be ok and working on March 30. |
You're welcome, I hope it will be useful to others too. |
Perhaps worth putting this on the readme as every ios user will need to do this before the end of march @edamov |
Where can we get the CAs from the Apple @marcorocca? And how do we save it as hashed form? |
Using pushok, I can send push notification with no problem only if I change src/Client.php and adding te following instruction in curl process:
// to bypass certificat issuer error
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
Without this option, notification cannot be sent, the following error occurs:
Fatal error: Uncaught Exception: SSL certificate problem: unable to get local issuer certificate
Now my question is: is the installation of AAAA Certificate Services root certificate realy needed or can we just add this curl option?
If AAAA Certificate Services root certificate is needed, do I need to add a link to the certificate in Client.php or how should I install this certificate on my debian linux server?
Thank you in advance for your help.
Joel
The text was updated successfully, but these errors were encountered: