You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zmcertmgr seems to want to chdir into PWD, since PWD=/root and zmcertmgr is ran as zimbra it doesn't have permission to access that path. I don't know why zmcertmgr is doing this, it doesn't need to. I didn't encounter this bug when doing testing as I always ran certbot_zimbra with sudo, never as logged-in root in /root.
capsh does not set HOME to the user's home. Reverting to sudo is
necessary to set the user's HOME and other login environment.
sudo was previously replaced with capsh in 930fa01.
The following error is shown when renewing a certificate and the deploy-hook is executed on a Rocky Linux 8 / Zimbra 9.0.0 server:
Folder permissions are the following
dr-xr-x--- 2 root zimbra 100 4 giu 10.08 certs-9YhF8BWL
To solve the issue I had to manually run as zimbra user
zmcertmgr deploycrt comm /run/certbot_zimbra.sh/certs-9YhF8BWL/cert.pem /run/certbot_zimbra.sh/certs-9YhF8BWL/zimbra_chain.pem
and then
zmcontrol restart
The text was updated successfully, but these errors were encountered: