1
24.1 Production Series / Acme Autoation for Proxmox not working
« on: May 06, 2024, 07:08:40 am »
I'm trying to copy a letsencrypt cert fetched from OPNSense over to Proxmox. I am doing it using the automations in the acme client plugin.
I set one up, ensured all values are correct, and tried running it.
I see in the logs page
When I try to run the command manually, as below, I get the error.
Trying to run it with `--deploy-hook acme_proxmox_ve` also failed.
I'm running OPNSense 24.1.6 and os-acme-client 4.2
I set one up, ensured all values are correct, and tried running it.
I see in the logs page
Code: [Select]
2024-05-06T00:25:02-04:00 opnsense AcmeClient: running automations for certificate: example.com
2024-05-06T00:22:18-04:00 opnsense AcmeClient: running acme.sh deploy hook failed (acme_proxmoxve)
2024-05-06T00:22:18-04:00 opnsense /usr/local/opnsense/scripts/OPNsense/AcmeClient/lecert.php: AcmeClient: The shell command returned exit code '1': '/usr/local/sbin/acme.sh --deploy --syslog 6 --log-level 1 --server 'letsencrypt' --home '/var/etc/acme-client/home' --cert-home '/var/etc/acme-client/cert-home/5c1886fae0f214.11
When I try to run the command manually, as below, I get the error.
Code: [Select]
# /usr/local/sbin/acme.sh --deploy --syslog 6 --log-level 1 --server 'letsencrypt' --home '/var/etc/acme-client/home' --cert-home '/var/etc/acme-client/cert-home/5c1886fae0f214.11888858' --certpath '/var/etc/acme-client/certs/5c1886fae0f214.11888858/cert.pem' --keypath '/var/etc/acme-client/keys/5c1886fae0f214.11888858/private.key' --capath '/var/etc/acme-client/certs/5c1886fae0f214.11888858/chain.pem' --fullchainpath '/var/etc/acme-client/certs/5c1886fae0f214.11888858/fullchain.pem' --domain 'cclloyd.com' --deploy-hook proxmoxve
[Mon May 6 00:58:28 EDT 2024] The deploy hook acme_proxmoxve is not found.
(exit 1)
Trying to run it with `--deploy-hook acme_proxmox_ve` also failed.
I'm running OPNSense 24.1.6 and os-acme-client 4.2