nice.
will need to find why this happened. and probably add a routine to make sure www is member of shared.
Hi,
I had a similar issue while trying to update my certificate:
[root@mail ~]# dehydrated -c -x
# INFO: Using main config file /etc/dehydrated/config
Processing mail.xxx.com
+ Checking domain name(s) of existing cert... unchanged.
+ Checking expire date of existing cert...
+ Valid till May 19 11:32:06 2022 GMT (Less than 30 days). Renewing!
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting new certificate order from CA...
+ Received 1 authorizations URLs from the CA
+ Handling authorization for mail.xxx.com
+ 1 pending challenge(s)
+ Deploying challenge tokens...
+ Responding to challenge for mail.xxx.com authorization...
+ Challenge is valid!
+ Cleaning challenge tokens...
+ Requesting certificate...
+ ERROR: An error occurred while sending post-request to
https://acme-staging-v02.api.letsencrypt.org/acme/finalize/41303368/3513424704 (Status 500)
Details:
HTTP/1.1 100 Continue
HTTP/1.1 500 Internal Server Error
Server: nginx
Date: Fri, 05 Aug 2022 13:06:30 GMT
Content-Type: application/problem+json
Content-Length: 112
Connection: keep-alive
Boulder-Requester: 41303368
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-staging-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 0002_Rm4guoJk_6rQSJn5MjnDCuttAqc9KoL2ffFHT8DwxI
{
"type": "urn:ietf:params:acme:error:serverInternal",
"detail": "Error finalizing order",
"status": 500
}
/usr/bin/dehydrated: line 737: 1: unbound variable
EXPECTED value GOT EOF
If then applied "usermod -a -G shared www" .... Ran it again and it went though ok.