I have tried this, but it doesn't seem to work.
curl https://get.acme.sh | sh -s email=youremail
acme.sh --issue --syslog 6 -d pve1.example.com --dns dns_acmedns --preferred-chain "ISRG Root X2" --keylength ec-256 --server letsencrypt
I have this issues with the seconde command :
[Mon Apr 8 11:53:56 AM CEST 2024] Using CA:
https://acme-v02.api.letsencrypt.org/directory
[Mon Apr 8 11:53:56 AM CEST 2024] Create account key ok.
[Mon Apr 8 11:53:57 AM CEST 2024] Registering account:
https://acme-v02.api.letsencrypt.org/directory
[Mon Apr 8 11:53:58 AM CEST 2024] Registered
[Mon Apr 8 11:53:58 AM CEST 2024] ACCOUNT_THUMBPRINT='XkDCyuvb3BK96MTFi1db8RkAaEV5awphDZy6huDjIUA'
[Mon Apr 8 11:53:58 AM CEST 2024] Creating domain key
[Mon Apr 8 11:53:58 AM CEST 2024] The domain key is here: /root/.acme.sh/pve1.example.com_ecc/pve1.example.com.key
[Mon Apr 8 11:53:58 AM CEST 2024] Single domain='pve1.example.com'
[Mon Apr 8 11:53:58 AM CEST 2024] Create new order error. Le_OrderFinalize not found. {
"type": "urn:ietf
arams:acme:error:rejectedIdentifier",
"detail": "Error creating new order :: Cannot issue for \"pve1.example.com\": The ACME server refuses to issue a certificate for this domain name, because it is forbidden by policy",
"status": 400