diff --git a/src/PVE/ACME/DNSChallenge.pm b/src/PVE/ACME/DNSChallenge.pm index 8e61c25..869f858 100644 --- a/src/PVE/ACME/DNSChallenge.pm +++ b/src/PVE/ACME/DNSChallenge.pm @@ -160,7 +160,7 @@ my $proxmox_acme_command = sub { # for security reasons, we execute the command as nobody # we can't verify that the code of the DNSPlugins are harmless. - my $cmd = ["setpriv", "--reuid", "nobody", "--regid", "nogroup", "--clear-groups", "--"]; + my $cmd = ["setpriv", "--reuid", "nobody", "--regid", "nogroup", "--clear-groups", "--reset-env", "--"]; # The order of the parameters passed to proxmox-acme is important # proxmox-acme $plugin <$domain|$alias> $txtvalue [$plugin_conf_string]