tls/

directory
v0.0.0-...-86674b3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 License: Apache-2.0

README

Web - TLS

Learn about securing your application using TLS.

Notes

  • Usually apps just listen for HTTP and offload TLS termination to a load balancer like Caddy or Nginx.

  • The net/http package provides support for TLS if you really need it

  • The crypto/tls package comes with a program for generating self signed certificates

    go run /usr/local/go/src/crypto/tls/generate_cert.go --host localhost

https://golang.org/pkg/net/http/
https://golang.org/pkg/crypto/tls/
https://golang.org/x/crypto/acme/autocert/
https://caddyserver.com/

Code Review

TLS support: Code
Automatic TLS with ACME via LetsEncrypt: Code

Exercises

Exercise 1

TBD


All material is licensed under the Apache License Version 2.0, January 2004.

Directories

Path Synopsis
Sample program to show how to launch a server that uses TLS.
Sample program to show how to launch a server that uses TLS.
Sample program to show how to launch a server with automatic TLS using ACME via LetsEncrypt.
Sample program to show how to launch a server with automatic TLS using ACME via LetsEncrypt.

Jump to

Keyboard shortcuts

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