Skip to content

Instantly share code, notes, and snippets.

@guest6379
guest6379 / blog.txt
Last active June 28, 2016 13:39 — forked from spikebike/client.go
TLS server and client
# reference blog
http://tiebing.blogspot.com/2013/06/golang-ssl-server-and-client-example.html
To generate key.pem and cert.pem, you can use openssl, or use go team's simple program included in go package: http://golang.org/src/pkg/crypto/tls/generate_cert.go
# https://github.com/nareix/blog/blob/master/posts/golang-tls-guide.md
# http://colobu.com/2016/06/07/simple-golang-tls-examples/