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.0.tar.gz (15.1 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.0-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: owl_proxy-0.1.0.tar.gz
  • Upload date:
  • Size: 15.1 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.0.tar.gz
Algorithm Hash digest
SHA256 c9a706c5d0ec9e486ae4984a291a84ee42e21180075dd6b1fe04a327234ceaf5
MD5 1cd56ebb1880410dfbcf21b64fe2ff0c
BLAKE2b-256 2f19133c4223eb8a2a50f882c38bb2a148c15c7c318406cd6dffdd582666128e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: owl_proxy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffb27e3a29230982b151f48c85a412ed45604c13184e078de6c7f7c9df170335
MD5 1ee4a76856d44c671e0bf3cb20c09e52
BLAKE2b-256 44518bb639497b19d90df7367d39118fefc1b12720284e8e726e7e717bdd08a6

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