Docs & quick start
Everything you need to get going with Kiebitz: setup, certificates, devices, no-code rules, diagnostics and emergency commands.
Getting started
Kiebitz runs on macOS 15 Sequoia or later with Apple Silicon. On first launch, the setup assistant opens with four steps:
- Pick your goal: Mac apps & browsers, iOS Simulator, iPhone/iPad, Android emulator or device, Terminal & backend scripts.
- Install and verify the certificate: one click, one macOS confirmation, then Kiebitz shows “Verified & Trusted ✓”.
- Connect your target: turn on the system proxy, set up a Simulator, configure an emulator or scan a QR code.
- Self-test: Kiebitz sends a real HTTPS request through the proxy to a local test host. Nothing leaves your Mac.
You can reopen the assistant anytime from Guides › Run Guided Onboarding…. The same menu holds the interactive tutorials, which tick off each step automatically.
Root certificate & trust
To read HTTPS, Kiebitz needs its own root certificate. It is created on your Mac during setup:
- Storage: the private key lives in your login keychain, never as a PEM file on disk.
- Trust: for your user only, without sudo and without a helper running as root.
- Per-domain certificates: ECDSA P-256 with keys that only exist in memory and vanish when you quit.
- Repair: if the toolbar shows “Cert Action Needed”, one click opens Devices & Certs with the matching one-click fix.
For other devices, export the certificate as .pem or .der. Whoever holds a root CA's private key can read the connections of every device that trusts it. So never share it, and remove the trust from devices you no longer test with.
Mac apps & system proxy
By default the proxy listens on 127.0.0.1:9090, on your Mac only. macOS Proxy ON in the toolbar routes the traffic of every Mac app that respects the system proxy.
- One password prompt per session: macOS asks once when you turn it on, and Kiebitz keeps the authorization until you quit.
- Journal with compare: before every change Kiebitz saves the previous values. On quit it only reverts fields that still hold its own values. Your VPN client's changes stay.
- Crash: the next launch restores the proxy automatically. Without the app, use
kiebitz-cli reset-proxy. - PAC mode: if you prefer automatic proxy configuration, switch to PAC with a
DIRECTfallback in the proxy settings. - Terminal & scripts: set
HTTPS_PROXY=http://127.0.0.1:9090for programs that ignore the system proxy.
LAN mode: to include an iPhone or Android device on Wi-Fi, open the proxy to your local network. Unknown devices then only get through via an allowlist or after a prompt.
iOS Simulator, Xcode Previews & iPhone
- Simulators: Devices & Certs › iOS Simulators lists every booted Simulator. “Install & Trust CA” runs
xcrun simctl keychain … add-root-certfor you and verifies the result. The same works for Xcode Previews. - iPhone & iPad: the assistant shows your LAN address and port plus a QR code for the local certificate page. Then enable full trust under Settings › General › About › Certificate Trust Settings. As soon as the first request arrives, the indicator turns green.
Android emulator & device
Kiebitz finds adb automatically in your PATH, in ~/Library/Android/sdk/platform-tools, via $ANDROID_HOME or Homebrew.
- USB mode: “Connect via USB” sets up
adb reverse tcp:9090 tcp:9090and the device proxy127.0.0.1:9090. This sidesteps Wi-Fi client isolation and changing IP addresses. A per-serial journal reverts the proxy on quit, on the next reconnect or viakiebitz-cli reset-proxy --android. - System CA on emulators: on images with root access (AOSP, Google APIs), Kiebitz can place the certificate in the system store, and on Android 14 and later in the APEX store. This does not survive an emulator reboot, and Kiebitz tells you so.
- Your own apps on Android 7+: apps only trust user certificates if they opt in. For debug builds this file is enough:
<!-- res/xml/network_security_config.xml -->
<network-security-config>
<debug-overrides>
<trust-anchors>
<certificates src="user" />
<certificates src="system" />
</trust-anchors>
</debug-overrides>
</network-security-config>
In the manifest, add android:networkSecurityConfig="@xml/network_security_config" to the <application> element. Flutter and React Native apps partly ignore the system proxy. The Troubleshooting Center explains what to do.
Visual rules without code
Right-click a request and choose Modify This Response Visually… to open the rule editor with the URL filled in. A rule has two parts:
- WHEN: method, domain and path, each with “Equals”, “Contains”, “Starts with”, “Wildcard” or “Regex”. A test line shows immediately whether the request matches.
- THEN: any number of actions, such as changing or deleting a JSON field, setting headers, changing the status code, adding a delay, mocking the whole response, pausing (breakpoint), disabling caching or passing HTTPS through.
On the right, the Live Before / After Preview shows the changes to status, headers and body before you save. Ready-made templates cover changing a JSON field, server error 500, rate limit 429, slow API (3 s) and no-caching. ⌘↩ saves and activates the rule.
All rules live in a readable rules.json that works well with version control. They run in a fixed order: connection (SSL, block/allow) → URL rewrite (Map Remote) → request changes → first terminating action (Map Local, mock, status) → request breakpoint → server → response changes → response breakpoint. Modified requests carry a rule badge in the list, and the sidebar collects them under Modified by Rules.
SSL pinning & diagnostics
When a TLS handshake fails, Kiebitz weighs the signals and shows a diagnosis card with a confidence level (High, Medium, Low) and the evidence it observed. The most common cases:
- Likely SSL pinning: the root CA is trusted, other domains from the same device work, but this app aborts right after the handshake. Fix: Pass-Through for the domain, or the playbook for your own app.
- Root CA not trusted: every HTTPS domain of a client fails. Fix: Fix Trust.
- Android app does not trust user certificates: every domain of one app fails while Chrome works. Fix:
network_security_config.xml(see above). - Server requires a client certificate (mTLS) or upstream TLS error: Kiebitz shows the server's certificate details.
The bypass playbooks under Guides › SSL Pinning Bypass Playbooks… are meant for debug builds of your own apps and for security tests you are authorized to run.
Keyboard shortcuts
| Shortcut | Action |
|---|---|
| ⌘R | Pause or resume recording |
| ⌘F | Filter and search requests |
| ⌘↩ | Save and activate a rule; in a breakpoint: send the modified request |
| ⌘. | In a breakpoint: continue unchanged |
| ↑ / ↓ | Move between requests in the list |
Terminal commands
The app bundle includes a command-line tool for running without an interface and for emergencies:
kiebitz-cli run --port 9090 # start the proxy engine without an interface
kiebitz-cli reset-proxy # restore the macOS proxy from the journal
kiebitz-cli reset-proxy --android # also revert USB-connected Android devices
Privacy, feedback & contact
Kiebitz sends no telemetry and no usage data. Captured requests live in a session folder only your user can read (0700). Clear Session deletes it immediately. More in the privacy policy.
Send questions, bug reports or wishes to office@whitebalance.de. Please do not attach captured sessions containing real tokens or customer data.