SSL Proxying
APXY can intercept HTTPS (TLS) traffic by acting as a man-in-the-middle proxy, generating leaf certificates on-the-fly signed by its root CA.
HTTPS interception modes
APXY supports three levels of HTTPS inspection:
| Mode | What’s captured | Privacy |
|---|---|---|
| Tunnel (default) | Nothing — encrypted passthrough | Highest |
| Metadata | Headers only, no bodies | Medium |
| Deep | Full request and response | Full inspection |
HTTPS MITM is opt-in by default for privacy. Traffic is tunneled without inspection unless you explicitly enable it.
Web UI
Open SSL from the Modify group. The page provides:
- A list of domains with SSL interception enabled
- Add domain form to enable HTTPS interception for a new domain
- Enable/disable toggles for each domain
- Delete buttons to remove domains from the list
When you create a mock rule for an HTTPS URL in the Mock Rules page, APXY automatically enables SSL interception for that domain.
CLI
apxy ssl …, apxy certs … (including custom CAs), and startup flags such as --ssl-domains, --bypass-domains, and --mitm-all are documented in CLI Reference → Setup and CLI Reference → Proxy.
Quick example (enable deep inspection for one domain):
apxy ssl enable --domain api.example.comSee Certificate Setup for platform-specific trust instructions.
Custom Certificate Authorities
Requires a Pro or Personal license. See License Activation for details.
APXY lets you add your own Certificate Authorities bound to specific domain patterns. When APXY intercepts HTTPS traffic for a matching domain, it uses your custom CA to sign the leaf certificate instead of the default APXY root CA.
Full apxy certs custom … syntax is in CLI Reference → Setup.
Web UI
- Open the SSL page from the Modify group
- Scroll to the Custom Certificate Authorities section
- Click Add CA
- Provide the domain pattern, CA certificate file, and private key file
- Click Save
Domain matching
Custom CAs are matched against the requested domain using these rules:
- Wildcard patterns —
*.example.commatches any subdomain ofexample.com - Exact match —
api.example.commatches only that specific domain - Fallback — if no custom CA matches, APXY uses its default root CA
Custom CAs persist across proxy restarts and are included when you export/import settings — see Settings Management.
Proxy bypass
Exclude sensitive domains from proxying entirely using --bypass-domains at startup (see Proxy). Bypassed domains are tunneled without any MITM — traffic passes through encrypted. This is required for apps with certificate pinning.
You can also use filter rules to exclude domains from being recorded (traffic is still forwarded):
apxy filter set --type block --target "sensitive-api.com"