Skip to main content

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

owl_proxy-0.1.1.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

owl_proxy-0.1.1-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file owl_proxy-0.1.1.tar.gz.

File metadata

  • Download URL: owl_proxy-0.1.1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for owl_proxy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0e8751101bb28f1dab2559353fcc94d2e3247b3a32b5b7d8e3cc593b9c23ce26
MD5 533d9d5ec9c1de9e2c98f8c642555ffe
BLAKE2b-256 00afdc60cc5c8fa7fa11ca14d939f5d06f6012c96d525885c33fc71fe289fbfe

See more details on using hashes here.

File details

Details for the file owl_proxy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: owl_proxy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for owl_proxy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5282f8f816d5fccc935d37983a1e52cd101f0e85664349390d4bb79cca434292
MD5 bdc177393a385906c565aa1926e9a798
BLAKE2b-256 90d6fdb4a32893fd97111ff78fa91c09a200696dad09d13dcb01beead2aed10b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page