In this chapter, we will cover the following recipes:
- Creating a private key and SSL certificate using OpenSSL
- Moving an HTTP server to HTTPS
- Defining REST APIs and routes
- Creating a JSON web token
- Securing a RESTful service using a JSON web token
- Preventing cross-site request forgery in Go web applications