Skip to content
subcloakdocs

Get started

Quick start

Capture and decrypt your first HTTPS request with Cloak Proxy in about five minutes, from trusting the certificate to reading a JSON response.

This guide takes you from a fresh install to a decrypted HTTPS request you can read, in about five minutes. You’ll trust the certificate, capture your Mac’s traffic, turn on SSL Proxying for one app, and inspect a response.

Install Cloak Proxy and open it. You need your Mac password twice: once to trust the certificate, and possibly once for macOS to change the proxy settings. On Linux, install the beta, then trust the certificate and turn on the system proxy as that page shows; the rest of this guide works the same.

  1. Trust the certificate. In the orange banner Trust the Cloak Proxy certificate to decrypt HTTPS, click Install & Trust… and confirm with your password.

    The banner disappears, and the bottom bar shows CA trusted near its right end.

  2. Check that macOS traffic is captured. Cloak Proxy turns the macOS proxy on when it opens. The capsule in the middle of the toolbar reads Listening on 127.0.0.1:9090 with a green dot, and the bottom bar shows macOS traffic on in green.

    If it says macOS traffic off in orange, click it, or press ⇧ ⌘ P.

  3. Make some traffic. Open Safari and load any HTTPS website.

    Requests appear in the list. HTTPS rows show the method CONNECT, a gray status dot and only the host, dimmed: Cloak Proxy passes them through without reading them, because nothing is set up for decryption yet.

  4. Turn on SSL Proxying for the app. In the sidebar under Apps, click Safari. In the bar above the list, click Enable SSL Proxying for All Requests from Safari.

    Cloak Proxy closes Safari’s open encrypted connections so it reconnects. The new connections are decrypted.

  5. Reload the page in Safari. New rows appear with a green status dot, the full URL, real methods such as GET, status codes and sizes.

  6. Inspect a request. Click a row. The inspector below the list shows the Request on the left and the Response on the right. Pick a JSON response and open its Body tab to see it as a collapsible tree. To put the inspector to the right of the list instead, click Layout in the toolbar.

Decrypted traffic: the list on top, the selected request's details below.

  1. A green dot and a full URL: the request was decrypted
  2. A dimmed CONNECT row passed through encrypted
  3. The selected request's method, status, URL, time, size and app
  4. Request tabs: headers, query, body, cookies and more
  5. Response tabs, with the body shown as a JSON tree
Decrypted requests to api.example.com and other example hosts in the traffic list, with the selected request's headers on the left and its JSON response body as a tree on the right
What you see What to do
Waiting for traffic and macOS traffic off Click Capture macOS Traffic in the empty list, or press ⇧ ⌘ P.
An alert that macOS doesn’t report the proxy as active A VPN or a configuration profile may be overriding proxy settings. Disconnect the VPN and try again.
Rows stay dimmed after you turn on SSL Proxying Make sure the bottom bar says CA trusted, then reload so the app opens new connections.
A row says the TLS handshake with the client failed The app doesn’t trust the Cloak Proxy certificate, or it pins its certificates. See Locked tunnels and pinned apps.
A command-line tool’s requests don’t appear Most command-line tools ignore the macOS proxy. Use a configured Terminal.
An app’s requests never appear, even with the proxy on The app ignores the macOS proxy. Look for it under Not using the proxy in the sidebar. See Apps that ignore the proxy.

Quit Cloak Proxy with ⌘ Q. Your previous proxy settings come back. To stop capturing without quitting, click macOS traffic on in the bottom bar or press ⇧ ⌘ P.

  • Filter the list by host, status or content type: Filtering.
  • Change a response without touching the server: Map Local and Breakpoint.
  • Capture an iPhone or Android device: Devices.
  • See which endpoints your app calls and spot leaked secrets: Insights.