Cover by Dipankar Sarkar

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Setting up HTTPS for a simple site

Cryptography has evolved over the ages and in today's world public key cryptography is pretty much the cutting edge (this is what PGP is based upon). All browsers implement certificate based security, allowing for safe and encrypted transactions on the Internet. It has proven to be one of the key factors contributing to the growth of e-commerce over the last decade.

Just as most browsers implement SSL based client mechanisms, all web servers also need to handle the server end of things. Nginx has a very clean and easy-to-configure implementation of SSL-based security. In this recipe we will have a look at how easy it is to get a pair of certificates and quickly set up a secure site.

How to do it...

  1. Initially, ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required