Skip to content

RADIUS Shared Secrets – Manage Client-Server Authentication Keys

The RADIUS Shared Secrets page manages the cryptographic keys used to authenticate communication between RADIUS clients and MideyeServer. Each shared secret is associated with a source IP address (or CIDR range) and optionally linked to specific RADIUS servers. Shared secrets are stored encrypted and can be verified or changed without exposing the current value.

Per RFC 2865, shared secrets should be at least 16 octets long for adequate security. MideyeServer enforces a minimum length of 1 character and a maximum of 255 characters.

Required Role: ROOT, SUPER_ADMIN, or ADMIN

Navigation: Home → RADIUS Settings → RADIUS Shared Secrets

RoleViewCreate / Edit / DeleteVerifyChange
ROOT
SUPER_ADMIN
ADMIN
OPERATOR
ColumnDescription
Source IPIPv4 address, hostname, or CIDR range of the client
RADIUS ServersAssociated RADIUS servers (clickable links showing server name and port)
CommentOptional administrator note
ActionEdit, Delete, and Settings menu (Verify / Change secret)
ActionDescription
EditModify source IP, comment, and server associations (secret is not editable here)
DeleteRemove the shared secret after confirmation
Verify Shared SecretCheck if a given secret matches the stored value (via Settings menu)
Change Shared SecretReplace the stored secret with a new value (via Settings menu)

FieldTypeRequiredValidationDescription
Source IPTextYesMust be valid IPv4, hostname, or CIDR notation (async validation)Client address this secret applies to
SecretPasswordYes (create only)Min: 1, Max: 255 charactersThe shared secret value. Only shown during creation
CommentTextNoMax: 255 charactersAdministrative note
RADIUS ServersMulti-selectNoLimit this secret to specific servers (leave empty for all servers)

MideyeServer prevents duplicate source IP configurations:

  • If no RADIUS servers are specified, the source IP must be unique across all unscoped secrets.
  • If RADIUS servers are specified, the source IP + server port combination must be unique.

The Verify dialog allows you to confirm that a shared secret matches without revealing the stored value.

Steps:

  1. Click the gear icon in the Action column and select Verify shared secret.
  2. The Source IP is displayed (read-only).
  3. Enter the shared secret to verify.
  4. Click Verify.

Results:

  • Success: “Shared secret is correct.”
  • ⚠️ Warning: “Shared secret is incorrect.”

The Change dialog replaces the stored shared secret with a new value.

Steps:

  1. Click the gear icon in the Action column and select Change shared secret.
  2. The Source IP is displayed (read-only).
  3. Enter the new shared secret.
  4. Re-enter the new shared secret in the confirmation field.
  5. Click Save.
FieldTypeRequiredValidationDescription
Shared SecretPasswordYesNew secret value
Confirm Shared SecretPasswordYesMust match the secret fieldConfirmation of the new secret
  1. Click Add New.
  2. Enter the VPN device’s source IP address.
  3. Enter the shared secret configured on the VPN device.
  4. Optionally select specific RADIUS servers.
  5. Click Save.
  1. Update the shared secret on the client device first.
  2. In MideyeServer, use Change Shared Secret to set the new value.
  3. Use Verify Shared Secret with the old value to confirm it no longer matches.
  1. Use Verify Shared Secret with the value configured on the client device.
  2. If verification fails, check for typos or encoding differences.
IssuePossible CauseResolution
Cannot save — collision errorDuplicate source IP and server combinationUse a different source IP or assign different RADIUS servers
Verify returns incorrectSecret mismatch or encoding issueRe-enter carefully; check for trailing spaces or special characters
Source IP validation failsInvalid formatUse valid IPv4 address, hostname, or CIDR notation
Page not accessibleInsufficient roleRequires ADMIN role or higher (operators cannot view this page)
  • RADIUS Clients — Configure client devices that use shared secrets
  • RADIUS Servers — Manage authentication servers associated with shared secrets
  • Authentication Logs — Diagnose authentication failures that may indicate secret mismatches