Skip to main content
kwcheng__FTNT
Staff
Staff
December 1, 2021

Technical Tip: The maximum radius secret key length for FortiOS

  • December 1, 2021
  • 0 replies
  • 2593 views
Description This article describes the maximum radius secret key size supported.
Scope FortiOS.
Solution

For all maximum value usually it will be listed under 'print tablesize'.

 

However the radius maximum secret key length is not being specified on the table.

 

To further check the maximum length usable for radius secret key.

It is possible to basically test it using the following command:

 

# config user radius

    edit "test"

        set secret '999999999999999999999999...'

 

The above command is basically creating a test remote radius server profile on the FortiGate name 'test' and try to set a secret value which test the maximum length.

 

The following message printed from the Fortigate CLI will appear:

 

'Password is too long, max length is 128.'

 

In conclusion, the maximum length of Radius Secret key on the FortiOS is 128 characters.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!