Cloud Native programming with Golang
上QQ阅读APP看书,第一时间看更新

Secure web services in Go

Now it's time to find out how to write secure web services in the Go language. Fortunately, Go was built from the grounds up with modern software architectures in mind, which includes secure web applications. Go comes with a powerful standard library that allows a smooth transition from HTTP servers to HTTPS servers. Before we start looking into the code, let's answer the simple question of how to obtain a digital certificate to use in our web server.