> Source: [sk162548](https://support.checkpoint.com/results/sk/sk162548)

# sk162548 - RADIUS authentication fails on R77.30 Security Gateway 

| Property | Value |
|----------|-------|
| Solution ID | sk162548 |
| Date Created | 2019-09-22 |
| Last Modified | 2019-09-25 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * RADIUS authentication is not working for the Security Gateway.
* */var/log/messages* mentions line issue in /etc/raddb/server, explaining that there is an issue with the RADIUS secret:  
  `
  pam_radius_auth: ERROR reading /etc/raddb/server, can't unobscure radius secret on line X

  `

## Cause

The RADIUS secret has been corrupted in the file.

**Broken:**

` `

`[Expert@Hostname:0]# cat /etc/raddb/server1 `  
`# This file was AUTOMATICALLY GENERATE2`  
` # Generated by aaa_xlate on Mon Mar 11 12:52:25 2019`  
`# DO NOT EDIT`  
`# /etc/raddb/server: Configuration telling the system what`  
`# RADIUS servers, if any, to contact for verifying passwords`  
`# In this system you don't edit it directly`  
`# For proper security, this file SHOULD have permissions 0600`  
`# that is readable by root, and NO ONE else`  
`#name: priority=0`  
`ip address>:1812 secret 5`

<br />

**Working:**

` `

`[Expert@Hostname:0]# cat /etc/raddb/server`  
`# This file was AUTOMATICALLY GENERATED`  
`# Generated by aaa_xlate on Wed Jan 24 08:26:33 201`  
`# DO NOT EDIT`  
`# RADIUS servers, if any, to contact for verifying passwords`  
` # In this system you don't edit it directly`  
`# For proper security, this file SHOULD have permissions 0600`  
`# that is readable by root, and NO ONE else`  
`#name: priority=0`  
`ip address>:1812 aaaaaAaaaAaAaaaa 3`

` `

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
