Total Pageviews

Saturday, 5 December 2015

gotlshttpserver-一个基于go的TLS HTTP Server demo


Golang TLS HTTP Server demo
To generate self signed TLS certificate
wget -qO- https://rootsh.xyz/gentlscert.sh | sh -s "*.mydomain.com"
Replace your domain into *.mydomain.com
Then you can run
go get -u github.com/netroby/gotlshttpserver
After finished got gotlshttpserver, then you can run
./gotlshttpserver
From  https://github.com/netroby/gotlshttpserver