Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
/ mitm.cr Public archive

HTTP/S proxy server to intercept and inspect calls

License

Notifications You must be signed in to change notification settings

manastech/mitm.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

This library is no longer supported or updated by the Manas.Tech, therefore we have archived the repository.

The contents are still available readonly and continue to work as a shards dependency.

If you wish to continue development yourself, we recommend you fork it. We can also arrange to transfer ownership.

If you have further questions, please reach out on https://forum.crystal-lang.org or [email protected]

mitm

Usage

Create CA certificate

  1. Create directory for certificates
$ mkdir certs
  1. Generate a private key file
$ openssl genrsa -out certs/ca.key
  1. Generate a self signed certificate
$ openssl req -x509 -new -key certs/ca.key -days 50000 -out certs/ca.crt -subj "/CN=mitm.cr"
  1. Install the generated certificate in your browser

Run the standalone proxy server

$ crystal src/main.cr

The proxy server will start and listen on port 8080

About

HTTP/S proxy server to intercept and inspect calls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published