3d0ae4736d
This change will keep the default behavior in the periodic script and will add options to customize each parameter for those who want to: - weekly_certbot_pre_hook - weekly_certbot_post_hook - weekly_certbot_deploy_hook - weekly_certbot_custom_args PR: 245674, 245954 Reported by: amdmi3, fjoe Reviewed by: koobs Approved by: dbaio, koobs (python, maintainer) MFH: 2020Q3 Differential Revision: https://reviews.freebsd.org/D25391
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
[
|
|
{ type: install
|
|
message: <<EOM
|
|
This port installs the "standalone" client only, which does not use and
|
|
is not the certbot-auto bootstrap/wrapper script.
|
|
|
|
The simplest form of usage to obtain certificates is:
|
|
|
|
# sudo certbot certonly --standalone -d <domain>, [domain2, ... domainN]>
|
|
|
|
NOTE:
|
|
|
|
The client requires the ability to bind on TCP port 80 or 443 (depending
|
|
on the --preferred-challenges option used). If a server is running on that
|
|
port, it will need to be temporarily stopped so that the standalone server
|
|
can listen on that port to complete the challenge authentication process.
|
|
|
|
For more information on the 'standalone' mode, see:
|
|
|
|
https://certbot.eff.org/docs/using.html#standalone
|
|
|
|
The certbot plugins to support apache and nginx certificate installation
|
|
will be made available in the following ports:
|
|
|
|
* Apache plugin: security/py-certbot-apache
|
|
* Nginx plugin: security/py-certbot-nginx
|
|
|
|
In order to automatically renew the certificates, add this line to
|
|
/etc/periodic.conf:
|
|
|
|
weekly_certbot_enable="YES"
|
|
|
|
More config details in the certbot periodic script:
|
|
|
|
%%LOCALBASE%%/etc/periodic/weekly/500.certbot-%%PYTHON_VER%%
|
|
|
|
EOM
|
|
}
|
|
{
|
|
type: upgrade
|
|
maximum_version: "1.5.0_2,1"
|
|
message: <<EOM
|
|
The certbot periodic script has new config options:
|
|
|
|
* weekly_certbot_pre_hook
|
|
* weekly_certbot_post_hook
|
|
* weekly_certbot_deploy_hook
|
|
* weekly_certbot_custom_args
|
|
|
|
For config details, see the certbot periodic script:
|
|
|
|
%%LOCALBASE%%/etc/periodic/weekly/500.certbot-%%PYTHON_VER%%
|
|
|
|
EOM
|
|
}
|
|
]
|