Answer the question
In order to leave comments, you need to log in
How to install https on the server?
VPS, Debian 9, NGINX.
The main task is to protect data from interception (standard). Nothing much more is needed.
This is my first time using https. Therefore, advice from those who have already done this is needed.
Now there is a server - ip. There is no name. On the server there is "one site" - a bunch of folders, scripts.
Using https://certbot.eff.org/lets-encrypt/debianstretch... Doing
this
cd /etc/apt/sources.list.d/
nano sources.list
добавил туда строку deb http://ftp.debian.org/debian stretch-backports main
apt-get -y update
обновилось
apt-get install python-certbot-nginx -t stretch-backports
норм
sudo certbot --nginx
ошибка
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1052: ordinal not in range(128)
Please see the logfiles in /var/log/letsencrypt for more details.
Answer the question
In order to leave comments, you need to log in
The certificate is issued for a domain name. A certificate cannot be bound to an IP address.
Of course, you need a domain name - a certificate is issued for it.
In fact, you can issue a certificate for ip, but only OV is much more expensive, it’s cheaper to buy a domain.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question