Adding a registration password for FortiClients after initial rollout is complete
I screwed up.
I deployed my FortiClients without specifying that a password be required for registration. Shortly thereafter, a consultant came on site and had their FortiClient software register to our FortiGate. I'd like to avoid having this happen again and it seems the surest way of doing this is requiring a password to register.
So I added a password to the FortiGate in the System > Config > Advanced > FortiClient Endpoint Registration section. I adjusted my Advanced FortiClient Profile to include a value (the same as specified in the Advanced Config section) in the <registration_password> tag and repackaged my base install to also include the proper <registration_password> tag (for new installations). For each XML file, I backed up the configuration file using FortiClient on my workstation so I would not have any clear text passwords in my published configs and applied the updated XML content with encrypted passwords to both my FortiClient profile on the FortiGate and to the deployment bundle created with FortiClient Configurator (for future deployments).
Seemed like a simple fix, however, when I boot and log onto on a system that already has the FortiClient software installed and registered with my FortiGate, I am greeted with a dialog box prompting me for a registration password. Interestingly, if I merely click Accept (without entering a password) the client appears to remain registered (the shield in the system tray never deviates from a happy green icon), a check of the FortiClient Monitor on the FortiGate, however, shows the client is now in an unregistered state. If I click cancel, the client is unregistered. This is a problem because I do not wish for my end users to ever have a chance to unregister the client (unregister is not disabled, but it does require a password so IT staff can disable FortiClient if needed for troubleshooting).
I've tried simplifying the process by using clear text passwords in the XML config files and have tried allowing the FortiClient profiles with the registration_password to propagate to a client prior to enabling the password reqirement in the System > Config > Advanced > FortiClient Endpoint Registration section, but was rewarded only with further frusteration.
An excerpt of my profile config file:
<endpoint_control> <enabled>1</enabled> <socket_connect_timeouts>1:5</socket_connect_timeouts> <custom_ping_server /> <system_data>Enc blahblahblahblah</system_data> <disable_unregister>0</disable_unregister> <show_bubble_notifications>1</show_bubble_notifications> <silent_registration>1</silent_registration> <ui> <display_antivirus>1</display_antivirus> <display_webfilter>1</display_webfilter> <display_firewall>1</display_firewall> <display_vpn>1</display_vpn> <display_vulnerability_scan>0</display_vulnerability_scan> <registration_dialog> <show_profile_details>0</show_profile_details> </registration_dialog> </ui> <alerts> <notify_server>1</notify_server> <alert_threshold>1</alert_threshold> </alerts> <fortigates> <fortigate> <serial_number>FG200D123456789</serial_number> <name>TR-FG200D-01</name> <registration_password>Enc yaddayaddayadda</registration_password> <addresses>10.10.0.100:8010;192.168.163.1:8010;vpn.ofmy.net:8010</addresses> </fortigate> </fortigates> </endpoint_control>
Any guidance on how I can add a password for FortiClient registrations as transparently as possible?
Thanks,
Stan