Auto TLS Recipe

This recipe demonstrates how to obtain TLS certificates for a domain automatically fromLet’s Encrypt. Echo#StartAutoTLS accepts an address which should listen on port 443.

Browse to https://<DOMAIN&gt;. If everything goes fine, you should see a welcomemessage with TLS enabled on the website.

Server

server.go

  1.  

Source Code

Maintainers