Skip to content

ntf server: validate APNS server certificate and host name - #1998

Draft
evgeny-simplex wants to merge 2 commits into
simplex-chat:masterfrom
evgeny-simplex:ep/ntf-apns-cert
Draft

evgeny-simplex wants to merge 2 commits into
simplex-chat:masterfrom
evgeny-simplex:ep/ntf-apns-cert

Conversation

@evgeny-simplex

@evgeny-simplex evgeny-simplex commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

ntf server: the APNs server certificate chain is validated against the CA store and the host name is checked, as the TLS library does by default. When the configured CA file cannot be loaded, the system certificate store is used, and the existing error line is logged. Connections that pin the server key (SMP, XFTP, remote control) are unchanged.

tests: the notification server connects to an APNs mock with the configured CA file and, when that file is missing, with the system store; it is refused with another CA and with a wrong host name.

/Notifications server

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant