Giter Club home page Giter Club logo

go-sslterminator's Introduction

Introduction

Very simple (Thanks to Go!) TCP SSL terminator proxy. Use it when you need to terminate SSL sessions transparently as a MITM interceptor to read the plain raw data.

Usage

  1. run some http server on port 8000
  2. go run go-sslterminator.go // assumed you have key.pem & cert.pem in pwd
  3. curl -v -k https://localhost:44300/

Quick Start

If you want to do some quick test, you can use that commands:

create SSL key & certificate for go-sslterminator

openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes -subj "/C=GO/ST=Golang/L=Golang/O=Golang/OU=IT Department/CN=golang.org"

run dummy http server

while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; } | nc -l 8000; done

run go-sslterminator

go run go-sslterminator.go

run dummy ssl client

curl -v -k https://localhost:44300/

Help

go run go-sslterminator.go --help
  -b string
    	backend address (default ":8000")
  -c string
    	SSL certificate path (default "cert.pem")
  -k string
    	SSL key path (default "key.pem")
  -l string
    	local address (default ":44300")

License

Licensed under the New BSD License.

Author

Uri Shamay ([email protected])

go-sslterminator's People

Contributors

cmpxchg16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.