ansible-zero-trust/roles/ssh_step/templates/etc/step-ca/scripts/zt-renew-acme.sh.j2
GregoryDosh 76664ce2c4
All checks were successful
Version Bump Galaxy.yml / Version Bump Galaxy.yml (push) Successful in 4s
feat: add basic crontab renewal script for acme/ssh scripts
2025-11-24 15:25:00 -06:00

10 lines
287 B
Django/Jinja

#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-FileCopyrightText: 2025 Dosh LLC
set +x
export STEPPATH={{ STEP_PATH }}
{{ STEP_BIN_ABSOLUTE_PATH }} ca renew {{ STEP_CERTS_PATH }}{{ STEP_CERTS_ACME_CRT }} {{ STEP_CERTS_PATH }}{{ STEP_CERTS_ACME_KEY }} --expires-in 12h