Setup let's encrypt in LEMP

Abstract

To enable HTTPS on your website, you need to get a certificate (a type of file) from a Certificate Authority (CA). Let’s Encrypt is a CA. In order to get a certificate for your website’s domain from Let’s Encrypt, you have to demonstrate control over the domain. With Let’s Encrypt, you do this using software that uses the ACME protocol, which typically runs on your web host.

Requirement

Official supports Linux only, there are many variations which support Windows.

Download

$ git clone https://github.com/letsencrypt/letsencrypt

Get certification

Because here we are using LEMP server, type following commands:

$ cd letsencrypt

$ ./letsencrypt-auto --nginx

and follow the instructions.

你可能感兴趣的:(Setup let's encrypt in LEMP)