When a Mattermost push proxy belongs in your own network
A self-hosted push proxy receives notification requests from your Mattermost server and forwards them to Apple Push Notification service (APNs) and Firebase Cloud Messaging (FCM) over HTTP/2, so that notifications reach iOS and Android devices without the server talking to Apple or Google directly. A security or platform team needs one when its custom, sovereign or tightly controlled environment cannot rely on the push service Mattermost hosts, for example because outbound traffic is restricted, the policy requires that notification traffic stay inside the organization's own network, or the team has built a custom mobile app that must route pushes through its own infrastructure. The choice is a trade-off. Running the proxy gives you control over the path, logging and network boundaries, but it also makes you responsible for hosting it, keeping it current and holding the push certificates and app signing material that identify your apps to Apple and Google.
This section covers only the decision and the scope the topic documents. It does not cover the build steps, certificate handling or signing workflow, which the rest of this page addresses. Before you commit, confirm the exact network requirements, the plan eligibility for self-hosted push, and the Mattermost server and mobile app versions that support your proxy against Mattermost's current mobile and push documentation. Those details change between releases, so treat any version or plan statement you read elsewhere as something to verify, not something to copy into your design.
Start the decision by listing where your notifications must go and who may see them. If your organization is content with Mattermost's hosted push service and the subscription it requires, the self-hosted path adds work without removing a constraint. If your security review asks where push traffic terminates, which systems hold the APNs and FCM credentials, and how you would prove that no message content leaves your boundary, a self-hosted proxy becomes the answer to those questions. Ask your Mattermost account team and your mobile platform owners to confirm which push options your plan includes and whether an ID-only notification setting is available to you, since that changes what data the push path carries at all.
Once the need is clear, assign ownership before design begins. The proxy sits between the Mattermost server, Apple, Google and your network egress rules, so the platform team, the security team and whoever owns the mobile app signing process each hold a piece of the decision. Record the owner of the APNs and FCM credentials, the renewal date for each certificate or key, and the process for rotating them. A proxy that works on day one but has no named owner for its credentials is the failure most likely to surface as silent notification loss months later.
How a notification travels from the Mattermost server to a phone
The path starts at the Mattermost server, which sends each notification to a push proxy you run inside your own network over TLS. The proxy only forwards the request: it passes it to Apple Push Notification service or Firebase Cloud Messaging over HTTP/2 using the push credentials and certificates you supply, and those vendor services deliver it to the device. Check that the proxy holds the credentials and that TLS is enforced on each hop inside your network, because those are the two points your team controls directly.
Notification path from your server through the proxy to the vendor push services and the phone.
Choosing between the hosted push service and your own proxy
This table compares the hosted push service from Mattermost, a self-hosted push proxy, and a hybrid where only some environments run their own proxy. Read each row as a question to answer for your environment before choosing, and treat the plan and egress rows as items to confirm with Mattermost and your network team.
| Decision area | Hosted push service from Mattermost | Self-hosted push proxy | Hybrid across environments |
|---|---|---|---|
| Who operates the proxy | Mattermost operates the push service, so your team does not run it | Your team deploys, configures and monitors the proxy inside your network | Mattermost runs the hosted service for some environments, your team runs the proxy for the rest |
| Where push credentials are held | Credentials for Apple and Google delivery are managed on the Mattermost side; confirm the exact arrangement with Mattermost | Your push certificates and app signing material are held in your environment, under your key management and access controls | Credentials sit in two places, so each environment's key custody and rotation must be documented separately |
| Network egress requirements | Each device and server path must reach the hosted service endpoints; confirm the list with Mattermost and your firewall team | The proxy must reach APNs and FCM over HTTP/2 and must be reachable over TLS from the Mattermost server; allowlist these paths explicitly | Two egress designs must be maintained, which doubles firewall review and change requests |
| Upgrade and certificate renewal ownership | Mattermost handles service-side upgrades; your team still tracks mobile app and server versions | Your team owns proxy upgrades, TLS certificate renewal and push certificate renewal on a schedule you set | Renewal calendars and upgrade windows must cover each proxy separately, so ownership should be written per environment |
| Air-gapped or sovereign fit | Generally a poor fit where the network cannot reach external push endpoints; confirm with Mattermost whether any alternative applies | The usual route where notifications must stay under your control, but APNs and FCM still require outbound paths that your security team must approve | Useful when a connected environment can use the hosted service while a sovereign environment runs its own proxy, if your policy allows that split |
| Plan eligibility | Confirm with Mattermost which plans and subscriptions include the hosted push service and any associated terms | Confirm with Mattermost which plans support a self-hosted push proxy before you design around it | Confirm eligibility for each environment separately, since the answer may differ by plan and deployment |
| Who to ask for a quote | Ask Mattermost to confirm plan requirements in writing before scoping any work | Ask for a fixed scope covering proxy build, TLS, push certificate handling, app signing support and monitoring | Ask for two scopes, one per design, plus the cost of maintaining both over time |
Setting up the push proxy in sequence
This sequence takes a custom or sovereign Mattermost deployment from a confirmed server version and plan to a self-hosted push proxy that forwards notifications to Apple and Google, followed by a signed mobile app that points at it. Each step closes with a check you can run before moving on.
Confirm server version and plan
Record the Mattermost server version you run and your plan level, then check the server releases page to confirm that version is still supported and when its support ends. Your plan determines which features are available to you, so confirm with your Mattermost account contact or the pricing page that self-hosted push is covered under your agreement. The step is done when the version, support end date and plan are written into your change record and the owner of each is named. Exact requirements for the push proxy come from the documentation for the version you install.
Decide where the proxy runs
Choose the network location for the push proxy and list what it must reach: outbound HTTP/2 connections to Apple's and Google's push endpoints, and inbound connections from your Mattermost server over TLS. Document which egress rules, firewall changes and DNS entries this requires, and who approves them under your security policy. The step is done when a network diagram shows the proxy, the Mattermost server and the outbound paths, and your network team has signed off on the egress list. Confirm the endpoint hostnames and ports against the current vendor documentation rather than relying on this summary.
Provision TLS for the server-to-proxy link
Issue a certificate for the proxy's internal hostname from a certificate authority your Mattermost server trusts, and install it on the proxy with its private key kept on the proxy host. Confirm that the Mattermost server's trust store includes the issuing chain, because a self-signed or untrusted certificate will block forwarding. The step is done when a TLS handshake from the Mattermost server host to the proxy completes with a verified chain, which you can test with a standard client tool such as openssl. Record the expiry date and add it to your certificate renewal calendar.
Obtain Apple and Firebase credentials
Create or obtain the Apple push certificate and the Firebase Cloud Messaging credentials under accounts your organization owns, not under an individual's personal account. Store the certificate, its private key and the Firebase service credentials in your secrets manager with restricted access and a named owner. The step is done when the credentials are stored, the access list is recorded and the expiry dates are tracked, so that renewal does not depend on one person. Check the current Apple and Google instructions for the exact steps and file formats, since these change over time.
Configure the proxy and point the server at it
Install the push proxy build for your Mattermost version, load the Apple and Firebase credentials from the locations defined in the official configuration reference, and set the proxy's listening address and TLS files. Then update the Mattermost server's push notification settings in the System Console to use your proxy's URL. Use only configuration keys and file names copied from the documentation for the installed version. The step is done when the proxy starts cleanly, its log shows it listening, and the server's notification settings save without error.
Verify forwarding with a test device
Sign a test user into the mobile app on a device you own, send a message that triggers a notification, and confirm the alert appears on the device. At the same time, check the proxy log for an entry showing the request was received from the Mattermost server and forwarded to the vendor service, and check the server log for no push errors. The step is done when the test device receives the notification and both logs show the forwarding path, which together confirm that the whole chain works. Repeat the test on an iOS device and an Android device, since each platform uses its own credentials.
Sign and distribute the mobile app
Build the mobile app with your own bundle identifiers, signing certificates and the server and push proxy settings your organization requires, then sign it with your own signing identity. Distribute the signed build through your mobile device management or internal app store, and record which build points at which proxy. The step is done when a test device installed from your distribution channel receives a notification from your proxy, confirming that the app, signing identity and push path match. Keep the signing keys under the same controls as the push credentials and plan the rebuild steps for each Mattermost upgrade.
Securing push credentials, TLS and egress
A push proxy holds Apple and Google credentials and sits between your Mattermost server and the vendor push endpoints, so it becomes a trusted component. The cards below cover the controls that keep those credentials, connections and logs contained, and each one lists what your team should verify in its own environment before go-live.
Protecting Apple and Google credentials
The proxy needs the APNs signing key or certificate and the FCM service account credentials to send notifications on your behalf. Store them in a secrets manager or a root-only file on the host, never in the repository or container image. Limit read access to the proxy's service account and record who can view or copy them. Confirm which credential type your app build uses for each platform and that the proxy configuration references only the files you intend.
Rotating push credentials on a schedule
Rotation is a planned change, not an emergency fix. Document who owns each Apple and Google credential, when it expires, and which step replaces it on the proxy. Test the rotation in a non-production proxy first, then confirm that notifications still arrive from the mobile apps before you retire the old key. Revoke credentials that leave the team or are no longer used, and keep a dated record of each change for your audit file.
Restricting which hosts can call the proxy
Only your Mattermost server nodes should be able to submit push requests. Allow inbound connections to the proxy listener from the server addresses only, through host firewall rules or a network policy, and deny everything else. If you run more than one Mattermost server or cluster, list each one explicitly. Verify the allow list with a connection test from an unlisted host, which should fail.
TLS between the server and the proxy
Requests from the Mattermost server to the proxy carry device identifiers and notification metadata, so they should use TLS. Plan how the proxy certificate is issued, who renews it, and how the Mattermost server trusts the issuing authority, including any internal CA chain. Set a renewal reminder well ahead of expiry, and confirm that the server rejects a proxy presenting an untrusted or expired certificate.
Least-privilege egress to vendor endpoints
The proxy needs outbound HTTP/2 access to the Apple and Google push services and nothing else. Configure egress rules to allow only those destinations and the ports they use, and block general internet access from the proxy host. Check the vendor endpoint list in each platform's current documentation and review it after upgrades. Confirm that the proxy cannot reach your internal networks except the Mattermost servers it must answer.
Logging without message content
Push logs should record delivery outcomes, error reasons and request identifiers, not notification text or message bodies. Confirm which fields the proxy writes at each log level and disable verbose request dumps in production. Set retention for proxy logs to match your policy, restrict who can read them, and test that a sample log line contains no message content before you forward logs to a central platform.
Patching the proxy and its runtime
Treat the proxy as internet-facing infrastructure for patch purposes. Track releases of the proxy and of the operating system and runtime beneath it, and schedule updates on a defined cadence with a rollback plan. Pair each update with a test notification from a development device. Ask your provider how security fixes are announced and how quickly they can be applied in your environment.
How the proxy design changes by environment
In a commercial cloud account, the push proxy usually runs in a private subnet or container service with outbound HTTPS access to Apple and Google. The proxy accepts requests from your Mattermost server over TLS, then forwards them to APNs and FCM over HTTP/2. Most of the design work goes into limiting who can reach the proxy and what the proxy can reach.
- Outbound allowlist: Restrict egress from the proxy subnet to the push endpoints the vendors document, and deny other destinations by default.
- Inbound path: Allow only the Mattermost server's address to reach the proxy, and terminate TLS with a certificate your team controls.
- Credentials: Store the APNs key or certificate and the FCM service credentials in the cloud secrets service, scoped to the proxy's own identity.
- Logging: Send proxy logs to your central store, and confirm the proxy keeps notification content out of its logs.
Check with your cloud security team that egress rules log denied connections and that the proxy identity cannot read other secrets in the account.
In a sovereign or regulated data center, outbound traffic usually passes through a controlled egress point such as a firewall or forward proxy. The proxy still needs to reach APNs and FCM, but each destination and each inspection step has to be approved and documented. HTTP/2 traffic also needs to survive the egress path intact, which is not guaranteed by every inspection device.
- Named egress exception: Ask the security team to approve a rule for the proxy host that covers the Apple and Google push endpoints, based on the list the vendors publish.
- TLS inspection: Decide whether the egress device decrypts this traffic. Decryption exposes device tokens and push metadata, and some inspection devices handle HTTP/2 poorly, so test before rollout.
- Resolution and routing: Confirm that the proxy resolves vendor names through approved resolvers and that its path does not depend on a single egress node.
- Allowlist ownership: Vendor endpoints can change, so assign an owner to the allowlist and set a review schedule.
Check whether the approved exception covers both the outbound path to the vendors and the connection between your Mattermost server and the proxy.
A fully air-gapped network cannot reach Apple or Google through normal routes, so a proxy inside the enclave cannot deliver vendor push notifications by itself. Mattermost documents air-gapped deployment as part of the Enterprise Advanced plan, and its deployment planning docs include a separate starting point for air-gapped networks. Confirm with Mattermost how it supports mobile notifications in your case before any proxy design begins.
- No direct vendor path: Do not assume a proxy solves the problem inside an enclave. Forwarding to Apple or Google requires an outbound route that the enclave does not have.
- Approved bridge: Any controlled connection to the internet needs formal approval from your security authority, and it changes how the enclave is classified and reviewed.
- Alternatives to evaluate: Options to confirm with Mattermost include a notification design that does not depend on vendor push, if Mattermost supports one, a relay in a separate zone, or accepting no mobile push.
- Device and plan questions: Confirm which plan covers your network model, how devices are enrolled and updated without a vendor cloud path, and who accepts the residual risk.
Get Mattermost's written answer on air-gapped push support and your plan level before any build work starts.
How app signing ties the proxy to your mobile build
A self-hosted push proxy is rarely useful on its own. It sends notifications using credentials that Apple and Google issue for a specific app, so the mobile build that receives those notifications has to carry the same identity. In practice, the bundle or package identifier and the signing certificates must match the credentials the proxy holds for APNs and FCM. If your organization forks the Mattermost mobile app, changes its identifier for branding, or re-signs it with a new certificate, the push credentials you configured may no longer correspond to the app on the device, and notifications can silently stop arriving. Confirm the identifiers in your fork against the push credentials before the first test build leaves your build pipeline.
Ownership is the question most teams leave unanswered. Decide who holds the Apple developer account and the Google project, who creates and stores the APNs key or certificate and the FCM service account, and who renews them when they expire. Apple and Google each manage their own credential lifecycles, so the renewal date belongs on a shared calendar with a named owner and a backup. Keep signing keys in a controlled store with access limited to the release team, and record which build, proxy version and credential belong together. Ask your mobile and platform leads to document this before go-live, and confirm the current credential rules with Apple and Google, since those terms can change.
This is the same decision that shapes your fork and distribution plan. A custom app that keeps the upstream identifiers can often use the upstream push path with less work, while a rebranded app will need its own identifiers, its own push credentials and a proxy configured to match. Each change to the app identity adds a credential to maintain and a release to test on real devices. Plan the fork, the signing setup and the proxy as one change, and test notification delivery on iOS and Android after every build that touches identity, not only after the first release.
Limits to confirm before committing to a self-hosted proxy
A self-hosted push proxy moves part of the notification path into your network, and it depends on vendor plan rules, server and app versions, and Apple and Google credentials that change over time. The cards below list what to confirm with Mattermost and the platform vendors before you commit engineering time to the build.
Plan and support requirements
Confirm in writing that your plan permits running your own push proxy and that the push path is supported for your deployment. Mattermost sells Professional, Enterprise and Enterprise Advanced plans as annual subscriptions, and its pricing page lists no public prices, so ask the sales team which tier and terms apply. Also ask how long the server version you plan to run stays supported, because the server release calendar sets support end dates for each version.
- v12.0 support end
- 2027-01-15
Server and app version pairing
Ask Mattermost which server versions work with which mobile app releases and which push proxy build. Server binaries ship monthly on the 16th, and Extended Support Releases are the longer-lived option. Record the pairing you test, and plan a retest each time either side moves, since a proxy that works with one server release may not match the next app release.
- v11.7 ESR support end
- 2027-05-15
What leaves your network
Map exactly what the proxy forwards to Apple and Google. Confirm whether the payload carries message text, channel names or only identifiers, and whether ID-only push is available on your plan. Ask Mattermost to document the data fields sent to APNs and FCM, then compare them with your data classification rules before approving the design.
Apple and Google credential changes
Confirm which Apple push credentials and Firebase service account settings the proxy needs, how they are issued, and how long they remain valid. Vendor policies for certificates, key types and HTTP/2 requirements can change, so ask Apple and Google, through their current developer documentation, which credential type is current before you build. Plan a rotation process that does not stop notifications.
Maintaining a custom mobile build
If you sign your own iOS or Android app to pair with the proxy, you own the fork from that point. Each Mattermost mobile release needs merging, rebuilding, signing and testing, and each Apple or Google platform change may need a response. Ask the team who will own that work, how often you will rebase, and whether your support contract covers it. Estimate this as recurring effort, not a one-time build.
Gaps in the documentation
Vendor documentation for a self-hosted push proxy is thin for sovereign or air-gapped setups, and the sections most relevant to this topic may not cover your exact network layout. Ask Mattermost for the reference configuration, the supported TLS settings to the server, and the test plan they use. Record any answer that is missing so it becomes a scoped item in your design review.
Questions buyers ask before hosting a push proxy
What drives the cost and effort of self-hosting a Mattermost push proxy?
The main drivers are how many apps and build variants you distribute, how many network paths you must approve, and how much of the signing and credential work your team already owns. A proxy that only forwards notifications to APNs and FCM over HTTP/2 is a small service, but the surrounding work is where time goes: TLS configuration to the Mattermost server, push certificate handling, and app signing tied to your own Apple and Google accounts. Ask any partner for a written quote that separates each of these items, names who is paid for which step, and states what the client must provide before work starts.
What is one-time work and what recurs after the proxy is live?
Initial setup, network validation and the first test pass on real devices are one-time work. Recurring work includes renewing push certificates and signing credentials before they expire, upgrading the proxy when Mattermost publishes changes, watching delivery metrics, and rebuilding and resigning the mobile apps whenever the fork changes or a new release ships. Monthly server releases and the Extended Support Release schedule in the Mattermost server releases documentation set the rhythm for proxy and app updates. Ask whether a quote covers these recurring items or only the initial build, and who holds the renewal calendar.
How long does the setup take in different environments?
Duration depends mostly on approvals and environment, not on the proxy code itself. A cloud account where your team already runs containers and can open outbound HTTPS to Apple and Google typically moves faster than a segmented network where firewall changes, egress proxies and change control each need a sign-off. A custom app adds time for developer accounts, certificates and a test cycle on physical devices. Ask for a timeline that lists each approval gate and its owner, and do not accept a single duration without that breakdown.
What does the work need from our organization before it starts?
Expect to supply four things: network approvals for outbound connections from the proxy to Apple and Google push endpoints and inbound connections from the Mattermost server, ownership of the Apple developer account and Google Firebase project, a signing identity that your organization controls, and test devices on iOS and Android that match your fleet. Credentials should sit in accounts you own, not in a partner's accounts, so access can be revoked at the end of an engagement. Confirm these items in the quote as client responsibilities.
Can our internal team host the push proxy without outside help?
Often yes, if the team already runs Linux services behind TLS, manages certificates and can work with Apple and Google developer consoles. The harder parts are the ones that happen rarely: first-time signing setup, a certificate renewal that nobody remembered, and a debugging session on a notification path that spans your network, the proxy and two vendor services. Before deciding, check whether the team can staff ongoing ownership, not only the first deployment, and whether it can test on physical iOS and Android devices.
When is outside help worth scoping for this work?
Outside help is worth scoping when the deployment is sovereign or air-gapped, when the app is a custom fork that must be signed and distributed under your brand, or when your team lacks capacity to own renewals and upgrades for years. It is also useful when compliance reviewers will ask for evidence of how notification data crosses your boundary. DeployOpen implements and hardens self-hosted platforms in the client's own infrastructure and prepares evidence for compliance assessments, but it does not issue audit reports or certifications. Request a fixed-scope written proposal with deliverables, handover steps and a retainer option for recurring work.
What should we check in the notification path if messages stop arriving?
Check the chain in order: the Mattermost server's push settings, TLS between the server and the proxy, the proxy's outbound connections to Apple and Google, and the push credentials and signing identity on the device side. Expired certificates and blocked egress are the most common causes to rule out first, and both can look like an app problem. Enable the metrics your Mattermost version documents for push so errors can be grouped by reason. Ask any partner how they will reproduce failures on test devices before changing production settings.
How DeployOpen scopes and delivers a self-hosted push proxy
DeployOpen plans, builds, documents and supports a self-hosted Mattermost push proxy inside your own infrastructure, so the work starts from a written scope that names the APNs and FCM credentials, network paths and app builds involved. The deliverables are agreed before build begins, and ongoing support is available as a retainer.
How we scope
- Written scope that lists the Mattermost server, push proxy, app builds and network paths involved
- Inventory of Apple and Google push credentials, certificate owners and renewal dates
- Decision record on whether a self-hosted proxy is needed or the hosted service fits your requirements
How we build
- Proxy deployment in your cloud, data center or private network with TLS to the Mattermost server
- Configuration of outbound HTTP/2 forwarding to APNs and FCM through approved egress paths
- Test of push delivery on iOS and Android devices against a non-production Mattermost server first
How we hand over
- Runbook covering deployment, configuration keys, certificate handling and app signing steps
- Architecture and data flow notes that your security and compliance reviewers can check
- Walkthrough with your platform and mobile teams so they can operate the proxy after handover
How we support
- Support retainer for patching, certificate renewal checks and proxy upgrades as Mattermost releases change
- Retesting of push delivery after server upgrades, network changes or app rebuilds
- Review of delivery errors and logs when your team asks for help diagnosing notification failures

