Skip to content

Certificates and proxies

All of these are in Settings → Proxy & certificates. They apply to HTTP, GraphQL, WebSocket, SSE and gRPC requests.

Add one client certificate per host under Client certificates:

  • Host: api.example.com, *.example.com or host:port.
  • Certificate: a PEM certificate and key, or a .p12 / .pfx file.

A PKCS#12 passphrase is stored in the macOS keychain, not in the settings file.

To trust a private or self-signed certificate authority, point Extra CA certificates at a PEM file.

To turn off TLS verification entirely, untick Settings → Requests → Verify TLS certificates. Use this only for local development servers.

Tick Use a proxy and choose one of:

  • A fixed address: http:// or socks5://, with an optional login.
  • System settings: on macOS, read from your network settings, PAC included.
  • A PAC file: from a URL or a path. PAC scripts run in a sandboxed JavaScript engine with the standard helpers, such as isInNet, shExpMatch and dnsDomainIs.

Skip the proxy for lists hosts that connect directly. The default is localhost, 127.0.0.1.

WebSocket and gRPC connections go through the proxy with a CONNECT tunnel.

Setting courier run option
Client certificate --cert api.example.com=client.pem,client.key
PKCS#12 certificate --pfx api.example.com=client.p12, passphrase in COURIER_PFX_PASSPHRASE
Extra CA --cacert ca.pem
Skip TLS verification --insecure
Proxy --proxy http://…, --proxy socks5://…, --proxy system or --proxy pac:https://…/proxy.pac

The CLI also reads HTTPS_PROXY and NO_PROXY.