root@opnsense:~ # /usr/local/sbin/acme.sh --deploy --syslog 7 --debug --server 'letsencrypt' --home '/var/etc/acme-client/home' --certpath '/var/etc/acme-client/certs/00000.00000/cert.pem' --keypath '/var/etc/acme-client/keys/00000.00000/private.key' --capath '/var/etc/acme-client/certs/00000.00000/chain.pem' --fullchainpath '/var/etc/acme-client/certs/00000.00000/fullchain.pem' --domain 'example.com' --deploy-hook synology_dsm[Thu Aug 31 19:12:40 CEST 2023] Selected server: https://acme-v02.api.letsencrypt.org/directory[Thu Aug 31 19:12:40 CEST 2023] Lets find script dir.[Thu Aug 31 19:12:40 CEST 2023] _SCRIPT_='/usr/local/sbin/acme.sh'[Thu Aug 31 19:12:41 CEST 2023] _script='/usr/local/sbin/acme.sh'[Thu Aug 31 19:12:41 CEST 2023] _script_home='/usr/local/sbin'[Thu Aug 31 19:12:41 CEST 2023] Using config home:/var/etc/acme-client/homehttps://github.com/acmesh-official/acme.shv3.0.6[Thu Aug 31 19:12:41 CEST 2023] Using server: https://acme-v02.api.letsencrypt.org/directory[Thu Aug 31 19:12:41 CEST 2023] Running cmd: deploy[Thu Aug 31 19:12:41 CEST 2023] Using config home:/var/etc/acme-client/home[Thu Aug 31 19:12:41 CEST 2023] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'[Thu Aug 31 19:12:41 CEST 2023] DOMAIN_PATH='/var/etc/acme-client/home/example.com'[Thu Aug 31 19:12:41 CEST 2023] The deploy hook synology_dsm is not found.
root@OPNsense:/home/penguin # find / -name 'synology*'/usr/local/share/examples/acme.sh/deploy/synology_dsm.sh
Thanks for the info, cookiemonster, but how do we get acme.sh to look there for the file(s)? I tried using the full path in my command line use of acme.sh, but that didn't work either. I would really like to set-up everything in the GUI, and allow the triggers to execute things without me having to manually intervene.
cp -a /usr/local/share/examples/acme.sh/deploy /var/etc/acme-client/home/
=> Send SSL data, 5 bytes (0x5)0000: .....== Info: TLSv1.3 (OUT), TLS alert, unknown CA (560):=> Send SSL data, 2 bytes (0x2)0000: .0== Info: SSL certificate problem: unable to get local issuer certificate== Info: Closing connection
HTTPS_INSECURE=1
My api token has the the sys.modify right ... but maybe this is not sufficient. Tried with both pveversion 7.4 and 8.0.4Did anyone get this to work?