/golang-tls

TLS Golang

Primary LanguageGoApache License 2.0Apache-2.0

Golang TLS

  • ch1: use openssh to generate key and cert
  • ch2: use go tool to generate key and cert
  • ch3: server uses tls and clien uses InsecureSkipVerify
  • ch4: server and client use cert
  • ch5: server uses CA and client doesn't work
  • ch6: server and client use CA
  • ch7: http2
  • ch8: h2c
  • ch9: autocert

References

  1. https://github.com/golang/net/tree/master/http2/h2demo
  2. https://ericchiang.github.io/post/go-tls/
  3. https://gist.github.com/denji/12b3a568f092ab951456
  4. https://github.com/denji/golang-tls
  5. https://github.com/jcbsmpsn/golang-https-example
  6. https://hacked.work/blog/writing-simple-http2-server-go/
  7. https://www.cnblogs.com/E7868A/archive/2012/11/16/2772240.html
  8. https://support.ssl.com/Knowledgebase/Article/View/19/0/der-vs-crt-vs-cer-vs-pem-certificates-and-how-to-convert-them
  9. https://stackoverflow.com/questions/38582937/how-to-create-a-tls-client-with-ca-certificates-in-go
  10. http://www.levigross.com/2015/11/21/mutual-tls-authentication-in-go/
  11. https://fale.io/blog/2017/06/05/create-a-pki-in-golang/
  12. https://godoc.org/golang.org/x/crypto/acme/autocert#example-NewListener
  13. golang/go#14141
  14. golang/go#14391
  15. https://www.jianshu.com/p/ff16b0308e7c