Fog Update Issue - Certificate for smartInstaller.exe will not download and install with mono
- 
I recently upgraded from 1.5.9 to 1.5.10 as the FOG Client wasn’t working on some of my hardware…
After downloading the FOG Server installer, I performed an in-place update, which worked fine for reimaging. after a small issue with NFS.
Now I am battling an issue with the cert during the smartinstaller.exe install on a Ubuntu 22 client.
sudo mono SmartInstaller.exe -h -r -s --server <FOGSERVER_URL> -l /tmp/fog.logI get error of:
Pinning Server..........................................................[Fail]- l can confirm the cert is available for download via curl
 - I can install the downloaded cert after renaming it as ca.crt
 
sudo certmgr -add -c -m Trust ca.crtSo what is the issue at this point?
 - 
@skyborne98 Sorry for the long delay. Not too many people know the ins and outs of the fog-client, especially when it comes to the Linux part of it.
In the log we see
ProtocolErrorwhich I have not seen before I think. Do you have a customized httpd/apache configuration or default created by the FOG server installer? - 
@Sebastian-Roth So I did some extensive work and was able to get it resolved.
I suggest a document change in regards to installing on Ubuntu 22.04. FOG client Wiki
In my situation, I did a minimal install and add just a few packages. For the SmartIstaller instructions regarding to Ubuntu 22 they can be minimized to:
sudo apt-get install nuget sudo apt-get install mono-complete sudo apt-get install apt-transport-httpsI also have a proxy in my environment and had to set the current environment, with an export command, Example
export http_proxy="http://proxyserver:port/" - 
@skyborne98 Thanks for testing and sharing you insights here!
I just added this info to the wiki: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#Installing_-_Linux
 - 
S Sebastian Roth has marked this topic as solved on