MITM proxy with CA certificate management - server, client, and certificate tools
Project description
Owl Proxy
MITM proxy with CA certificate management — server, client, and certificate tools.
Install
pip install owl-proxy
Quick Start
# 1. Generate CA certificate
owl-proxy cert generate
# 2. Install CA into OS trust store
owl-proxy cert install
# 3a. Run as a standalone proxy server
owl-proxy server --port 8443 --auth user:pass
# 3b. Run as a local MITM client (direct mode)
owl-proxy client --direct
# 3c. Run client forwarding through a remote server
owl-proxy client --remote https://my-server:8443 --auth user:pass
Modes
Server
Run on any machine (Raspberry Pi, VPS, etc.) as a proxy server:
owl-proxy server --host 0.0.0.0 --port 8443 --auth user:pass
Client
Run locally as a MITM proxy that intercepts HTTPS traffic:
# Direct mode — fetches URLs itself
owl-proxy client --direct --port 8080
# Remote mode — forwards through an Owl Proxy server
owl-proxy client --remote https://my-pi:8443 --auth user:pass
Certificate Management
owl-proxy cert generate # Create new CA
owl-proxy cert install # Trust CA system-wide
owl-proxy cert info # Show CA details
owl-proxy cert export -d ./ # Copy CA cert for sharing
owl-proxy cert uninstall # Remove from trust store
Configuration
Settings can be provided via CLI flags, environment variables, or both:
| Environment Variable | Description |
|---|---|
OWL_PROXY_HOST |
Server bind address |
OWL_PROXY_PORT |
Server bind port |
OWL_PROXY_USERNAME |
Auth username |
OWL_PROXY_PASSWORD |
Auth password |
OWL_PROXY_TOKEN |
Bearer token |
OWL_PROXY_TIMEOUT |
Request timeout (seconds) |
OWL_CLIENT_HOST |
Client listen address |
OWL_CLIENT_PORT |
Client listen port |
OWL_REMOTE_SERVER |
Remote server URL |
Data is stored in ~/.owl-proxy/ by default (respects XDG_DATA_HOME).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file owl_proxy-0.1.2.tar.gz.
File metadata
- Download URL: owl_proxy-0.1.2.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5892147043c51e5138d464282345f6110e542e4dabd50935471aa5ec20149e38
|
|
| MD5 |
80eb3ae7f396adbea84ab70d0c013a5b
|
|
| BLAKE2b-256 |
2f5f279da3664e302877f71a177cdce7302e6ff4971327b90c1fe35eb5b8ac9f
|
File details
Details for the file owl_proxy-0.1.2-py3-none-any.whl.
File metadata
- Download URL: owl_proxy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87a33acc1ebeba7dadbfc8a67ecb4145124929d47447b27b72e86696db937de4
|
|
| MD5 |
c802e8070445d633223d4e21e1f15068
|
|
| BLAKE2b-256 |
ca8b76c8a3ae07067384b27320d7e5ffa5c134e36eea12ddecd47ccc76ff4861
|