- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
11-05-2022 03:59 PM
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,
11-08-2022 04:48 AM
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.
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!