ssltunnel

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2019 License: MIT Imports: 16 Imported by: 0

README

ssltunnel

Do you want to feel uncomfortably secure, but don't want to set up a real SSL enabled web server for your development environment?

Good News! ssltunnel is the answer!

Installation

If you don't have Go on your system, I have some precompiled binaries available. I don't have access to test all of them though so if there is a problem please let me know.

If you have Go installed on your system:

$ go get github.com/jakebasile/ssltunnel

Usage

$ ssltunnel -wrap 8080 -serve 8443

This will start listening on 0.0.0.0:8443 with SSL, proxying all requests to 127.0.0.1:8080. It automatically makes a self signed cert covering the ip address 0.0.0.0. If you want to use a special hostname, do this instead:

$ ssltunnel -in 8080 -out 8443 -hosts superspecial.example.com,superspecial2.example.com

Then, you can either modify your /etc/hosts file to point those host names to 127.0.0.1 or set up your own DNS magic.

NOTE: If you want to change the hostname you need to delete the key and cert file already generated.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL