certhub-certbot-run¶
Synopsis¶
certhub-certbot-run <output-cert-file> <input-csr-file> <certbot> [certbot-certonly-args …]
Description¶
Runs the given certbot binary with CSR read from
<input-csr-file>
. Writes the resulting certificate to the
<output-cert-file>
as well.
Examples¶
Run certbot certonly with CSR from the configuration directory. Resulting fullchain certificate is committed to the repository.
git gau-exec /var/lib/certhub/certs.git \
git gau-ac \
git gau-xargs -I{} \
certhub-message-format {}/example.com.fullchain.pem x509 \
certhub-certbot-run {}/example.com.fullchain.pem /etc/certhub/example.com.csr.pem \
certbot --config /etc/certhub/example.com.certbot.ini
See Also¶
certbot(1), certhub-message-format(1)