Skip to content

Deploy with acme.sh running on remote machine

Alexander Wolf edited this page Jan 15, 2023 · 1 revision

Deploy with acme.sh running on remote machine

Bonus material: Using acme.sh --deploy-hook sshwith UDM(P)

Unrelated to this project: if you create the certificate and key on another device and want to deploy it via SSH to your UDM(P), the required environment variables for acme.sh --deploy --deploy-hook ssh are

DEPLOY_SSH_USER=root
UBIOS_CERT_PATH='/mnt/data/unifi-os/unifi-core/config'
DEPLOY_SSH_KEYFILE=${UBIOS_CERT_PATH}/unifi-core.key
DEPLOY_SSH_CERTFILE=${UBIOS_CERT_PATH}/unifi-core.crt