@Samuel1010 , I don’t know if this can help you, but I had a similar problem with a windows deploy. The problem was solved when I reset encryption data on the master host, before capture the new image. This is done at the host you use to upload image general page, you have a “Reset Encryption Data” button.
After doing that, before upload, the fog client at the hosts, can comunicate with the server, and all work fine.
Hope this help you.