Application security feature

iOS app network security

Otukan helps your iOS app trust only your real backend, survive certificate changes and enterprise networks, and keep serving users when a link looks wrong.

  • iOS
Intercepted TLS sessions is met at the backend identity check boundary before it reaches the appIntercepted TLS sessionsBackend identity checkYour app
  • Your backend, confirmed

    Beyond a valid certificate, your app checks it is talking to the keys you own, so a trusted but foreign certificate is not enough to intercept it.

  • Rotation without outages

    Backup keys and a rehearsed rotation turn a certificate renewal into routine work instead of an outage for your users.

  • Failure you choose

    Each endpoint has its own answer to a suspicious connection, from a quiet signal to a hard stop, so trust and availability are balanced deliberately.

Connection threats Otukan handles on iOS

Pick a threat to see how Otukan detects it, how the app responds and what your backend receives.

Intercepting proxy with a user root

  1. Detect

    The presented certificate chain does not end at the keys your app expects for that host.

  2. Respond

    Sensitive requests are held back from the intercepted connection; other endpoints follow the rule you set.

  3. Report

    An interception signal is queued and sent once a trusted path is available.

Disabled certificate checks

  1. Detect

    Otukan's hooking checks notice when trust evaluation functions have been replaced to always succeed.

  2. Respond

    Sensitive requests stop, since the connection check itself can no longer be relied on.

  3. Report

    Your backend learns the trust check was tampered with.

Traffic through a proxy or VPN

  1. Detect

    Otukan reads the device's proxy and VPN state when a sensitive request starts.

  2. Respond

    Your policy decides whether to allow, warn or restrict the flow.

  3. Report

    Network context travels with the request for your risk engine.

Corporate TLS inspection

  1. Detect

    The chain ends at an inspection root your organisation has listed for the app, so it is recognised as sanctioned inspection.

  2. Respond

    Allowed hosts continue; hosts you mark as critical still require your own keys.

  3. Report

    Inspection is reported separately from hostile interception.

Certificate expiry or rotation

  1. Detect

    Otukan recognises the new certificate's key as one of the backup keys already shipped in the app.

  2. Respond

    Connections continue without an emergency release.

  3. Report

    Your team sees which key each connection matched during the changeover.

What Otukan adds to iOS connection trust

Transport controls that work with Apple's networking stack rather than around it.

  • Certificate pinning

    Checks the public keys your hosts present against the set shipped in your app, with backup keys for rotation.

  • Interception defence

    Detects man-in-the-middle setups, from user-installed roots to replaced trust checks, and reports them to your backend.

  • Proxy and VPN risk

    Reads proxy and VPN state for the requests you choose, so network context can inform your decision.

  • API request protection

    Adds app identity and runtime signals to your API calls, so your gateway knows what sent each one.

You choose the response

Set a response for each user flow. Start by observing, then tighten flow by flow as the signals prove themselves.

Observe

Signal sent to your backend

Rolling out a new policy and measuring real-world signals.

Warn

This device looks modified. Continue with care.

Conditions some genuine users create, such as developer settings.

Restrict

Payments are unavailable on this device.

Payments, stored data and account changes.

Terminate

Session closed for your security.

Clear tampering on a high-risk flow.

How it works

  1. List your hosts

    Map every backend host, who issues its certificates and how often they change.

  2. Pin with backups

    Ship current and backup public keys for the hosts that carry sensitive data.

  3. Set failure rules

    Decide per endpoint what happens when trust fails or a proxy is present.

  4. Test real networks

    Accept the build on home, mobile, corporate and intercepted networks with physical devices.

  5. Rehearse rotation

    Switch a test host to its backup key before production does it for real.

Free for app publishers

Check your app's exposure

A passive review of your published app by an Otukan engineer. No files, no access to your systems. Findings go by email to the verified publisher.

You finish the request on the next page.

An iOS app preserves connection trust by confirming it is talking to your real backend, not just to any server with a valid certificate, and preserves availability by planning for the moments that check could fail. Otukan checks the keys your hosts present against the set shipped in your app, detects interception and tampered trust checks, reads proxy and VPN context for sensitive requests, and applies a failure rule you set per endpoint. Backup keys and rehearsed rotation keep users connected through certificate changes. Apple’s App Transport Security stays the foundation. For the cross-platform view, see mobile man-in-the-middle attack prevention.

Transport validation and backend identity

By default, iOS accepts a server certificate when its chain ends at any root the device trusts. That is a long list, and it grows when a user installs a configuration profile and enables full trust for its root in Settings. An interception proxy only needs one such root.

Three layers of trust

LayerWho provides itWhat it confirmsWhat it misses
App Transport SecurityiOSModern TLS and a chain to a trusted rootRoots a user or attacker added
Key pinningOtukan in your appThe host presents one of your own public keysNothing about the device’s state
Trust-check integrityOtukan runtime checksThe validation code itself has not been replacedNeeds pinning to have something to protect

Apple also lets apps declare pinned keys in the app’s configuration. Otukan works alongside that and adds what a static declaration cannot: detection when the trust check is hooked, signals to your backend and per-endpoint failure rules. Pinning details are covered on mobile app certificate pinning.

Certificate lifecycle and enterprise networks

Planning for change

Certificates are renewed, keys are rotated and certificate authorities change. Pinning to a whole certificate turns each renewal into an outage. Otukan pins public keys, ships a backup key for every critical host and records which key each connection matched. Your team rehearses the switch on a test host, so the production rotation is routine. A step-by-step rotation plan is in the certificate pinning rotation guide.

Corporate networks

Many organisations inspect TLS with a root pushed by device management. For a workforce app, that is expected behaviour, not an attack. You list the inspection roots your organisation uses, Otukan tells sanctioned inspection apart from any other foreign root, and you choose per host: general content can pass through inspection, while identity, payment and data-export hosts still demand your own keys. Signals mark inspection separately, so your security team is not chasing corporate proxies.

More than one networking layer

Not every request leaves through the same code. Your own API calls, embedded SDKs, web views and cross-platform HTTP clients can each use a different path to the network. Otukan maps which of your hosts are reached through which layer during scoping, applies key checks to the paths that carry sensitive data and states plainly which traffic sits outside that scope. Your team then knows exactly which connections are protected, rather than assuming all of them are.

Supported policies, failure behaviour and recovery

A failed trust check forces a choice between security and service. Make it before it happens.

Endpoint typeTrust check failsProxy or VPN presentRecovery
Public contentContinue, send signal laterContinueNone needed
Sign-inStop and show a clear messageWarn, then continueRetry on another network
Payments and transfersStopRestrict to low-value actionsRetry on a trusted network
Account and security changesStop and alertStep up authenticationSupport contact inside the app

Signals from a failed check are queued and sent once a trusted connection returns, so your backend still learns about the attempt. Users see a message that tells them what to do next instead of a silent failure.

Keeping the service up

Availability also means not punishing ordinary users for ordinary networks. Hotel captive portals, flaky mobile data and carrier proxies all produce connection errors that look alarming but are not attacks. Otukan separates a key mismatch from a plain network failure, so the app retries the second and only applies your trust rule to the first. Support teams see the difference in the signal, which shortens investigation when a customer reports that the app will not connect.

The platform overview is on iOS app security, and implementation material is in iOS app security guides.

Common questions

  • Isn't App Transport Security enough?

    App Transport Security makes your app use modern TLS and reject invalid certificates by default, which is the right foundation. It still trusts any root the device trusts, including one a user or attacker has installed and enabled. Otukan adds the check that the certificate belongs to your keys, and tells your backend when someone tried to sit in the middle.

  • What if our certificate expires and the pins no longer match?

    That is the risk that makes teams wary of pinning, and it can be planned for. Otukan pins public keys rather than whole certificates, ships a backup key alongside the current one and rehearses the switch before it happens. A renewal that keeps the key needs no change at all, and a planned key change moves to the backup without an emergency release.

  • Will pinning break our app for employees on a corporate network?

    Only if you want it to. Corporate networks often inspect TLS through a root installed by device management. You list the inspection roots your organisation uses, and Otukan lets that traffic through for general hosts while payment and identity hosts still require your own keys. Employees keep working, and critical requests are refused over an inspected connection rather than passing through the proxy.

On the mobile engineering team?

How protection fits your build, signing and release, platform by platform.

Talk only to your real backend

Tell us which hosts your iOS app talks to, who manages their certificates, whether users sit behind corporate proxies and which flows must never run on an untrusted connection. We never ask for source code, IPA files, private keys or production credentials.

Or request a technical demo