uniqush / uniqush-push

Uniqush is a free and open source software system which provides a unified push service for server side notification to apps on mobile devices.
http://uniqush.org
Apache License 2.0
1.54k stars 201 forks source link

Refuse to start up if APNs certificates cause SystemRootsError #257

Open TysonAndre opened 4 years ago

TysonAndre commented 4 years ago

https://golang.org/pkg/crypto/x509/#SystemRootsError indicates the OS's root certificate chain could not be loaded (unrelated to whether the specific APNs certificate is valid). Currently, that can't be recovered from, and the error is cached permanently.

See #256