Как настроить Certbot не включать опции-ssl-apache.conf в мои виртуальные хосты?

Я буду использовать:

find . -maxdepth 1 -type f -exec stat --format=\"%n\",%s,\"%y\" {} \;

и Для электронной почты с прикрепленным CSV вы можете использовать:

find . -maxdepth 1 -type f -exec stat --format=\"%n\",%s,\"%y\" {} \; > output_$(date +%F).csv  && echo "PFA" | mail -s "subject" -a output_$(date +%F).csv
0
16.12.2018, 09:40
1 ответ

Вы можете использовать команду certonly:

Authenticators are plugins used with the certonly command to obtain a certificate. The authenticator validates that you control the domain(s) you are requesting a certificate for, obtains a certificate for the specified domain(s), and places the certificate in the /etc/letsencrypt directory on your machine. The authenticator does not install the certificate (it does not edit any of your server’s configuration files to serve the obtained certificate)...

использование:

certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN]...
   ...
obtain, install, and renew certificates:
    (default) run   Obtain & install a certificate in your current webserver
    certonly        Obtain or renew a certificate, but do not install it

Примеры:

certbot certonly --webroot -w /var/www/example -d www.example.com -d example.com -w /var/www/other -d other.example.net -d another.other.example.net

certbot certonly --standalone -d www.example.com -d example.com
3
28.01.2020, 02:30

Теги

Похожие вопросы