Managing FortiTokens
This section focuses on the following:
- Resending an activation email
- Locking/unlocking FortiTokens
- Managing FortiTokens drift
- Deactivating FortiTokens
- Moving FortiTokens to another device
Resending an activation email
To resend an activation email/SMS for a mobile token on a FortiProxy:
- Go to User & Authentication > User Definition and edit the user.
- Click Send Activation Code Email from the Two-factor Authentication section.
Locking/unlocking FortiTokens
A FortiToken can be associated with only one account on one FortiProxy unit. If a user loses the FortiToken, lock the FortiToken using the FortiProxy unit so it will not be used to falsely access the network. Later if found, you can unlock FortiToken on the FortiProxy unit to allow access once again.
To change FortiToken status to active or to lock:
config user fortitoken
edit <token_serial_num>
set status <active | lock>
next
end
A user attempting to log in using a locked FortiToken cannot successfully authenticate.
Managing FortiTokens drift
If the FortiToken has drifted, the following must take place for the FortiToken to resynchronize with FortiProxy:
- FortiProxy prompts the user to enter a second code to confirm.
- The user gets the next code from the FortiToken and enters the code at the prompt.
- FortiProxy uses both codes to update its clock to match the FortiToken.
If you still experience clock drift, it may be the result of incorrect time settings on your mobile device. If so, make sure that the mobile device clock is accurate by confirming the network time and the correct timezone.
If the device clock is set correctly, the issue could be the result of the FortiProxy and FortiTokens being initialized prior to setting an NTP server. This will result in a time difference that is too large to correct with the synchronize function. To avoid this, manually drift adjust the selected tokens.
To show current drift and status for each FortiToken:
diagnose fortitoken info
FORTITOKEN DRIFT STATUS
FTK200XXXXXXXXXC 0 token already activated, and seed won't be returned
FTK200XXXXXXXXXE 0 token already activated, and seed won't be returned
FTKMOBXXXXXXXXXA 0 provisioned
FTKMOBXXXXXXXXX4 0 new
Total activated token: 0
Total global activated token: 0
Token server status: reachable
This command lists the serial number and drift for each configured FortiToken. You can check if it is necessary to synchronize the FortiProxy and any particular FortiTokens.
To adjust Mobile FortiToken for drift:
# execute fortitoken sync <FortiToken_ID> <token_code1> <next_token_code2>
Deactivating FortiTokens
To deactivate FortiToken on a FortiProxy:
- Go to User & Authentication > User Definition.
- Select and edit the user for which you want to deactivate the token.
- Disable the Two-factor Authentication toggle.
- Click OK. The token will be removed from the user's Two-factor Authentication column. The user will also be removed from the token's User column under User & Authentication > FortiTokens.
Moving FortiTokens to another device
FortiTokens can only be activated on a single FortiProxy or FortiAuthenticator. To move FortiTokens to another device, you would first have to reset the registered FortiTokens on a device and then reactivate them on another device.
To reset hard tokens registered to a FortiProxy appliance (non-VM model), you can reset all hardware FTK200 tokens from the Support Portal, or during RMA transfer. See the Migrating users and FortiTokens to another FortiProxy KB article, for more information.
The above process will reset all hard tokens and you cannot select individual tokens to reset. |
To reset FortiToken Mobile, a single hard token, a hard token registered to a VM, and so on, an administrator must contact Customer Support and/or open a ticket on the Support Portal.
Once reset, the FortiTokens can be activated on another FortiProxy or FortiAuthenticator.
Migrate FortiToken Mobile users from FortiProxy to FortiToken Cloud
You can migrate FortiToken Mobile users from the FortiProxy unit to FortiToken Cloud with a time-based subscription license using the execute fortitoken-cloud migrate-ftm <license> <vdom>
command.
A request must be made to Fortinet Customer Service to initiate and pre-authorize the transfer. All current active FortiToken Mobile users will be migrated to the FortiToken Cloud license with no changes to the FortiToken Mobile serial number. The FortiProxy user or administrator's two-factor setting is automatically converted from fortitoken
to fortitoken-cloud
. After migration, end users will be able to authenticate as before without any changes to their FortiToken mobile app. See Migrate FTM tokens to FortiToken Cloud for more information.