Skip to main content
Contributor
May 9, 2022

Technical Tip: Changing FortiNAC update server via CLI

  • May 9, 2022
  • 0 replies
  • 750 views
Description This article describes how to change the FortiNAC update server via CLI.
Scope Versions 8.8.x, 9.1.x, 9.2.x.
Solution

To configure update server settings via CLI:

 

1) Login with root username to FortiNAC CLI   from the eth0 management IP.

 

ethomollari_0-1652104362455.png

 

2) Go to the following directory: cd  /etc/yum/vars/

 

ethomollari_1-1652104524578.png

 

3) Edit the nacupdateserver file via nano or vi editor.

 

ethomollari_2-1652104659881.pngethomollari_3-1652104733409.png

 

It is possible to go to the end of the  text by using keyboard left, right arrows.

 

- Change updates.bradfordnetworks.com to fnac-updates.fortinet.net.

- Ctrl + O to save the file.

- Ctrl +X to finish and exit the editor.

 

4) Test the new update server, triggering CentOS updates from CLI:

 

yum -y update

 

Note.

This change must be applied because of these reasons:

 

a) CentOS updates are needed but system is not reachable via GUI

 

And  

 

b) FortiNAC systems that have already configured updates.bradfordnetworks.com, will face difficulties and certificate validation errors since this server is not in operation anymore and the switch to fnac-updates.fortinet.net is necessary.