So I have my Redhat/PrivacyIDEA server running (10.128.10.207). And Redhat/FreeRadius server (10.128.10.211).
I getting this error on the Radius server when I try to “Send test RADIUS request”
tail -25 /var/log/radius/radius.log
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Config File /etc/raddb/rlm_perl.ini found!
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Debugging config:
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Default URL https://10.128.10.207/validate/check
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Looking for config for auth-type Perl
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Password encoding guessed: ascii
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Setting client IP to 10.128.10.207.
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Auth-Type: Perl
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: url: https://10.128.10.207/validate/check
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: user sent to privacyidea: nj.wjy
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: realm sent to privacyidea:
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: resolver sent to privacyidea:
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: client sent to privacyidea: 10.128.10.207
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: state sent to privacyidea:
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: urlparam client
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: urlparam pass
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: urlparam user
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Request timeout: 10
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Not verifying SSL certificate!
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: elapsed time for privacyidea call: 0.010392
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: privacyIDEA request failed: 500 Can’t connect to 10.128.10.207:443 (Connection refused)
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before “Can’t connect to 10…”) at /etc/raddb/mods-config/perl/privacyidea_radius.pm line 515.
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: Can not parse response from privacyIDEA.
Tue Feb 15 14:20:22 2022 : Info: rlm_perl: return RLM_MODULE_FAIL
Thank you in advance,
Willie