Certificates and proxies
All of these are in Settings → Proxy & certificates. They apply to HTTP, GraphQL, WebSocket, SSE and gRPC requests.
Client certificates
Section titled “Client certificates”Add one client certificate per host under Client certificates:
- Host:
api.example.com,*.example.comorhost:port. - Certificate: a PEM certificate and key, or a
.p12/.pfxfile.
A PKCS#12 passphrase is stored in the macOS keychain, not in the settings file.
Extra CA certificates
Section titled “Extra CA certificates”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.
Proxies
Section titled “Proxies”Tick Use a proxy and choose one of:
- A fixed address:
http://orsocks5://, 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,shExpMatchanddnsDomainIs.
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.
In the command line
Section titled “In the command line”| 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.