Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

Request Assistance with XMP API - Linux FreeRadius Perl

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Request Assistance with XMP API - Linux FreeRadius Perl

L0 Member

Hi PAN Peoples,

 

My FreeRadius/Perl to PAN skills are a little rusty.  We have a requirement to send UserID-IP Address Mappings from Wifi to PAN and have a Linux FreeRadius box in the middle doing Accounting only for this purpose. 

 

I can confirm the API Key has been entered into the Perl script and command line tests confirm connection to PAN from the Linux host.

 

We are getting the following issue in the debug.

 

rlm_perl: ***** Accounting type: Stop, host/Computer.Domain.Internal, ip: 10.x.x.x
rlm_perl: ***** Sending to PA: https://panhost.domain/api/?type=user-id
rlm_perl: Error connecting to host: panhost.domain
rlm_perl: ***** Sending to PA: https://panhost.domain/api/?type=user-id
rlm_perl: Error connecting to host: panhost.domain
rlm_perl: Error updating user-mapping for host/Computer.Domain.Internal with IP:10.x.x.x

 

PAN OS 10.2.2

Ubuntu 18 LTS

FreeRadius 3.0.16

 

Has anyone seen this particular error and can you recall how it was resolved, please?

I can post Perl config if required.

 

Thank you,

 

 

1 REPLY 1

L1 Bithead

My first thought would be to enable more verbose logging, the message of "Error connecting to host: panhost.domain" doesn't really provide much valuable information.

 

It seems like there is an issue with building the connection, and with your confirmation that you can reach the firewall from your CLI leaves me with the impression that it's either an authentication issue or you need to disable SSL certificate validation within your script.

  • 1420 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!