Skip to content
Snippets Groups Projects
Commit 26d4f794 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

chore: Add troubleshooting notice about certificates to README.

parent 1a382cce
No related branches found
No related tags found
No related merge requests found
Pipeline #104808 passed
......@@ -78,3 +78,15 @@ try {
// Handle exception
}
```
## Troubleshooting
### Certificate errors
You might need to set the root certificate for the APNS request using `setRootCertificatePath` on the `APNS` object.
You can download this certificate using the link in the Apple Developer documentation:
[`Establish a Trusted Connection to APNs`](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server#2943333) > `AAA Certificate Services root certificate`
```php
$apns->setRootCertificatePath(__DIR__ . "/AAACertificateServices.crt");
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment