service:letsencrypt
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
service:letsencrypt [18.05.2025 11:52] – [Для Cisco ASA] viacheslav | service:letsencrypt [22.05.2025 11:12] (текущий) – [Docker] viacheslav | ||
---|---|---|---|
Строка 139: | Строка 139: | ||
echo -e "\n# Reload HAProxy if there are new certs\n0 3\t* * *\troot\t/ | echo -e "\n# Reload HAProxy if there are new certs\n0 3\t* * *\troot\t/ | ||
</ | </ | ||
+ | |||
===== Для Cisco ASA ===== | ===== Для Cisco ASA ===== | ||
Строка 305: | Строка 306: | ||
===== Docker ===== | ===== Docker ===== | ||
+ | <code bash> | ||
+ | mkdir -p $HOME/ | ||
+ | |||
+ | port=54321 | ||
+ | |||
+ | docker run -it --rm --name certbot -u $(id -u):$(id -g) \ | ||
+ | -v " | ||
+ | -v " | ||
+ | -v " | ||
+ | -p $port:$port certbot/ | ||
+ | certonly --test-cert --standalone --preferred-challenges http-01 --http-01-port $port \ | ||
+ | --config-dir /tmp/conf --work-dir /tmp/work --logs-dir /tmp/logs \ | ||
+ | --keep --agree-tos --no-eff-email --expand -m email@example.com -d example.com | ||
+ | </ | ||
+ | |||
https:// | https:// | ||
- | https:// | + | [[https:// |
+ | [[https:// | ||
https:// | https:// | ||
service/letsencrypt.1747569150.txt.gz · Последнее изменение: — viacheslav