User Tools

Site Tools


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/20 14:35]
val
letsencrypt_certbot [2024/05/20 14:46]
val [Настройка DNS]
Line 6: Line 6:
 ===== Настройка DNS ===== ===== Настройка DNS =====
 <​code>​ <​code>​
-$ host host2.mgtu.ru +$ host host3.mgtu.ru 
-host2.mgtu.ru has address 195.19.40.152+host3.mgtu.ru has address 195.19.40.152
 </​code>​ </​code>​
  
Line 29: Line 29:
 </​code><​code>​ </​code><​code>​
 root@val:~# a2ensite hostN.mgtu.ru root@val:~# a2ensite hostN.mgtu.ru
 +
 +root@val:~# apachectl -t
  
 root@val:~# systemctl reload apache2 root@val:~# systemctl reload apache2
Line 66: Line 68:
 MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
 </​code><​code>​ </​code><​code>​
-val@val:​~$ ​###curl http://​hostN.mgtu.ru/​.well-known/​acme-challenge/​NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN +val@val:~$ curl http://​hostN.mgtu.ru/​.well-known/​acme-challenge/​NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 
-</​code><​code>​+</​code>​ 
 + 
 +  * !!! Возвращаемся в предыдущую консоль !!! 
 + 
 +<​code>​
 ... ...
 Press Enter to Continue Press Enter to Continue
letsencrypt_certbot.txt · Last modified: 2024/05/20 14:46 by val