Certificate manament helper not working
-
Hi,
In Fog Configuration -> Certificates I’m seeing

But the installer said:

Did I miss something?
I’m running 1.6.0.158
Thanks,
Adam
-
@AdamC This has the same cause as your services thread: the umask 027 on your server. The installer puts the helper in /opt/fog/bin. Under umask 027 that folder is root-only (drwxr-x—). The Certificates page checks for the helper as the web server user, and that user cannot see into the folder. So the page reports the helper as missing, but the helper is installed.
Run this as root, then reload the Certificates page:
chmod a+x /opt/fog /opt/fog/bin
This lets other users pass through the folder. It does not let them list it, and it does not change any file in it.
If you use Secure Boot kernel signing, the same check stops it. Kernels you download in the UI stay unsigned until you run the command above.
The installer fix is https://github.com/FOGProject/fogproject/pull/2167. It reaches stable with the next 1.6 release.
One addition: if you use Secure Boot, download your kernels again in the web UI after the chmod. A kernel downloaded while the folder was locked stayed unsigned, and Secure Boot PCs will not boot it.
-
@Tom-Elliott Perfect, thanks again!