Error: Installing Client Outside of Local Network (Unable to install CA certificate)
-
@fud18 Yes, update fogserver to the fqdn that is DNS resolvable.
-
Am I doing this in the Fog server installer or in the fog config?
-
@fud18 You’re doing this in the FOG Client Installer, where it says “fogserver”
-
That’s where I am putting fogserver.xxx.homelinux.net. Then it gets to the part about the CA certificate and fails.
-
@fud18 then you will probably need to update your information.
edit the fog server’s
/opt/fog/.fogsettings
file and change theip=
to be:fogserver.xxx.homelinux.net
Rerun the fog installer with:
./installfog.sh -y --recreate-keys --recreate-ca
This should regenerate the certificates and use the fqdn for the common name of your CA.
-
Do I need to restart the server or anything once that is done to complete? Do I need to give it time or that should be it?
- I have changed the settings in .fogsettings to be the FQDN
- I have ran the command as you posted ./installfog.sh -y --recreate-keys --recreate-ca
-
There shouldn’t be anything special once that is done. The server should be setup and operational using the FQDN even from a browser so long as the port forwarding is setup properly and the DNS is set to look at your public IP Address.
-
Is there maybe a port number I am missing that I need to let through? Just trying to check all options.
-
What port or ports did you initially allow?
-
Looks like 80 & 443
-
And the port forward is a “src” of Any or 0.0.0.0 and Destination is your “local network’s” fog server IP address?
-
-
RESOLVED: I was forcing https on the forward and as soon as I removed that it started working and I have already had 3 machines check in and they were the ones I just installed the client on remotely.