Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The easiest way to get a certificate is from Let's Encrypt .
The instruction is here: https://certbot.eff.org
Select the server (nginx) and OS, the instruction opens.
Here is an example for debian 9:
https://certbot.eff.org/lets-encrypt/debianstretch...
And here is the host configuration:
server {
listen 443 ssl default_server;
server_name my-domain;
ssl_certificate /etc/letsencrypt/live/my-domain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/my-domain/privkey.pem;
# ...
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question