Skip to content

Commit

Permalink
Added unknown CA troubleshooting (#834)
Browse files Browse the repository at this point in the history
* Added unknown CA troubleshooting

* Update site/content/contribute/mobile/push-notifications/service.md

Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>

* Update site/content/contribute/mobile/push-notifications/service.md

Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
  • Loading branch information
4 people authored Aug 2, 2021
1 parent c117de7 commit b058d1e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion site/content/contribute/mobile/push-notifications/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,11 @@ panic: Failed to load the apple pem cert err=failed to parse PKCS1 private key f

**For iOS / Apple Push Notifications**: If the logs are reflecting DeviceTokenNotForTopic (error 400) this may be because you're using an older / previous Device ID. Re-run the queries you need to get device IDs and test.
This could also be because you generated a certificate for the wrong bundle ID. The bundle ID used in `mattermost-push-proxy.json` should be the same one as the app and the for the same app it was generated for.
This could also be because you generated a certificate for the wrong bundle ID. The bundle ID used in `mattermost-push-proxy.json` should be the same one as the app, and should be for the same app it was generated for.
##### *TLS: Unknown Certificate Authority* error
**For iOS / Apple Push Notifications**: If you see a message in the push proxy log that includes `tls: unknown certificate authority` for iOS devices, it's likely Apple has invalidated your client certificate, or you're using a client certificate without [the correct certificate authority.](https://developer.apple.com/news/?id=7gx0a2lp) To resolve this, follow [these instructions to generate a new certificate](https://developers.mattermost.com/contribute/mobile/push-notifications/ios/), and then [upload it to your push proxy server](#set-up-mattermost-push-notification-service-to-send-ios-push-notifications).
### Reporting issues
Expand Down

0 comments on commit b058d1e

Please sign in to comment.