letsencrypt_certbot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
letsencrypt_certbot [2024/05/03 10:10]
val [Создание сайта]
letsencrypt_certbot [2024/05/03 12:37] (current)
val [Запрос сертификата]
Line 6: Line 6:
 ===== Настройка DNS ===== ===== Настройка DNS =====
 <​code>​ <​code>​
-$ host host1.mgtu.ru +$ host host2.mgtu.ru 
-host1.mgtu.ru has address 195.19.40.152+host2.mgtu.ru has address 195.19.40.152
 </​code>​ </​code>​
  
Line 36: Line 36:
 ===== Запрос сертификата ===== ===== Запрос сертификата =====
 <​code>​ <​code>​
-root@val:~# snap install --classic certbot+ubuntu# snap install --classic certbot 
 + 
 +debian# apt install certbot python3-certbot-apache
  
 root@val:~# certbot certonly --manual -d host1.mgtu.ru root@val:~# certbot certonly --manual -d host1.mgtu.ru
 </​code><​code>​ </​code><​code>​
 +Enter email address (used for urgent renewal and security notices)
 + ​(Enter '​c'​ to cancel): val@bmstu.ru
 ... ...
 Create a file containing just this data: Create a file containing just this data:
letsencrypt_certbot.1714720259.txt.gz · Last modified: 2024/05/03 10:10 by val