I am bit surprised (and I think it's only happening since a few Weeks/Months) by the Error but it seems to be working somehow.
I use
Then I use
What I noticed is that for Proxmox VE Hosts (as said, I think it's quite a recent thing), I am getting lots of Errors:
Logs for Before and After disabling setting ownership using
Originally I thought that maybe
After that it was however still failing.
Logging in via SSH on the Proxmox VE Host shows that I can however manually rename, move, remove etc files in
Both operations are performed as
In the end, the files are correctly overwritten (looking at the timestamp shows that they have indeed been updated) and a (remotely issued)
I don't understand however why this is happening. Any ideas what is special about using a Configuration Management System (such as
I use
certbot
in a Podman/Docker Container to generates ALL Certificates for my Infrastructure. No, I do NOT use the ACME "plugin" of Proxmox VE, since I have wildcard certificates and managing them in a centralized Place is much much easier.Then I use
saltstack
/ salt
(and in some cases normal ssh
) to distribute these Certificates & Keys to my Servers.What I noticed is that for Proxmox VE Hosts (as said, I think it's quite a recent thing), I am getting lots of Errors:
Logs for Before and After disabling setting ownership using
chown
attached (too long for the Forum to accept the Code within the Post).Originally I thought that maybe
salt
didn't like the symlink /etc/pve/local
-> /etc/pve/nodes/<node>
. Therefore that was the first thing I attempted to fix.After that it was however still failing.
Logging in via SSH on the Proxmox VE Host shows that I can however manually rename, move, remove etc files in
/etc/pve/nodes/<node>
.Both operations are performed as
root
(salt
running as root
, ssh
logged in as root
).In the end, the files are correctly overwritten (looking at the timestamp shows that they have indeed been updated) and a (remotely issued)
salt "PVE" cmd.run "nohup systemctl --no-block restart pveproxy &"
allows the Certificate to be correctly loaded by pveproxy
. And when I visit the website, I correctly have no more "Self-Signed SSL Certificate" Error.I don't understand however why this is happening. Any ideas what is special about using a Configuration Management System (such as
salt
/ saltstack
) vs raw ssh
that could explain these permission errors, yet the thing still works as intended ?