Skip to content

A simple net/http wrapper to enable HTTPS without previously generating a cert/key pair

Notifications You must be signed in to change notification settings

jbain/autohttps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoHttps

A simplified wrapper for net/http for when you just need a quick and dirty https server.

It automatically generates a TLS cert/key pair for each run, starts the server, and deletes the key for each instantiation.

No more pointing to snakeoil or having to lookup openssl commands.

Cert/key generation is based off of https://golang.org/src/crypto/tls/generate_cert.go

About

A simple net/http wrapper to enable HTTPS without previously generating a cert/key pair

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages