From: "Nikolay A. Fetisov" <naf@naf.net.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Certbot
Date: Fri, 29 May 2020 10:18:18 +0300
Message-ID: <eae5555b8d6ccf4e2c4b61c98f8e81d0d4a2d59d.camel@naf.net.ru> (raw)
In-Reply-To: <e87f9efd-09fe-72ea-bb13-a22500cd11ca@yandex.ru>
В Чт, 28/05/2020 в 17:44 +0300, Vladimir Karpinsky пишет:
> Установил и настроил для Appache2 certbot. Думаю прикрутить также к
> postfix и dovecot.
>
> Задумался над вопросом: существует ли автоматический рестарт (reload)
> этих сервисов после обновления certbot'ом сертификата?
В certbot'е, судя по документации, есть возможность задания нужных
действий через опцию --renew-hook - но точно не знаю, не использовал.
В dehydrated для обновления сертификатов и перезапуска сервисов
есть обработчики - вызывающийся по получению нового сертификата
deploy_cert() и по завершению проверки и при необходимости обновления
всех сертификатов exit_hook(), - в которых можно делать что угодно.
--
С уважением,
Николай Фетисов
next prev parent reply other threads:[~2020-05-29 7:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-28 14:44 Vladimir Karpinsky
2020-05-28 14:58 ` Vladimir Karpinsky
2020-05-28 15:11 ` Michael Shigorin
2020-05-29 7:18 ` Nikolay A. Fetisov [this message]
2020-05-29 8:03 ` Vladimir Karpinsky
2020-05-30 18:20 ` Vladimir Karpinsky
2020-05-31 5:08 ` Vladimir Karpinsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eae5555b8d6ccf4e2c4b61c98f8e81d0d4a2d59d.camel@naf.net.ru \
--to=naf@naf.net.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git