Technical Tip: Customize server FQDN in sponsor approval email Link
Description
- High Availability.
- SSL certificate subject names differ from the Control Server hostname.
Solution
- Log into the CLI as root on your FortiNAC Server or Control Server.
- Navigate to the following directory:
/bsc/campusMgr/master_loader/
-
Using vi or another editor, open the .masterPropertyFile file.
-
At the top of the file, there is a sample entry that is commented out. Follow the syntax of the sample entry to create personalized changes using one of the following examples:
- FQDN for Links Using HTTPS (Port 8443).
To configure email links use the FQDN of the FortiNAC Server or Control Server and use https and port 8443 to add the information to the EmailLink Host property.
FILE_NAME=./properties_plugin/selfRegRequest.properties
{
com.bsc.plugin.guest.SelfRegRequestServer.EmailLinkHost=https://mySpecialHost.Fortinetnetworks.com:8443
}
- FQDN for Links Using HTTP (Port 8080).
FILE_NAME=./properties_plugin/selfRegRequest.properties
{
com.bsc.plugin.guest.SelfRegRequestServer.EmailLinkHost=http://mySpecialHost.Fortinetnetworks.com:8080
}
Example:
#############################################################
# FILE_NAME=./properties_plugin/bridgeManager.properties
# {
# com.bsc.plugin.bridge.BridgeManager.verifyRegisterdClients=true
# }
#############################################################
FILE_NAME=./properties_plugin/selfRegRequest.properties
{
com.bsc.plugin.guest.SelfRegRequestServer.EmailLinkHost=https://myNACServer.Fortinetnetworks.com:8443
}
-
Save the changes to the file.
-
Restart the FortiNAC Server.
shutdownCampusMgr
Wait 30 seconds.
startupCampusMgr
When the server restarts, the changes listed in the .masterPropertyFile are written to the selfRegRequest.properties file.
Verify:
