When trying to connect the Pulse client to the SRX, the process fails with the following messages:
Status of connection results: "Failed" Details: "Incorrect Credentials"
Pulse Client attempts to login to the SRX, but the Pulse client does not connect. The Connection Status in Pulse window reports the Connection Status: "Failed" / Details: "Incorrect Credentials":
NOTE : If you are using local authentication (where the SRX is authenticating users directly), instead refer to KB22893- Pulse client reports 'Incorrect Credentials' error (using Local Authentication) [juniper.net] . This error message occurs in the following situations:
subscriber-management
subscriber-management-helper
user@srx# show system processes subscriber-management disable; subscriber-management-helper disable; Yes - Re-enable the processes. user@srx# delete system processes subscriber-management user@srx# delete system processes subscriber-management-helper user@srx# commit Delete the configuration as below and commit: No - Continue with Step 3 .
user@srx# show system processes subscriber-management disable; subscriber-management-helper disable;
user@srx# delete system processes subscriber-management user@srx# delete system processes subscriber-management-helper user@srx# commit
access
show access
show access profile <profile>
root@srx# show access profile radius-auth { authentication-order radius; radius-server { 172.30.73.206 secret "$ABC123"; ## SECRET-DATA } } When users authenticate from Pulse, the system will check what profile should be used based on what is listed under security -> dynamic-vpn -> access-profile . Make sure the access-profile listed here is the profile you intended to use. root@srx# show security dynamic-vpn access-profile radius-auth; <--------- clients { users { remote-protected-resources { 192.198.3.0/24; } remote-exceptions { 0.0.0.0/0; } ipsec-vpn dynvpn; user { user1; } } }
root@srx# show access profile radius-auth { authentication-order radius; radius-server { 172.30.73.206 secret "$ABC123"; ## SECRET-DATA } }
security ->
dynamic-vpn -> access-profile
root@srx# show security dynamic-vpn access-profile radius-auth; <--------- clients { users { remote-protected-resources { 192.198.3.0/24; } remote-exceptions { 0.0.0.0/0; } ipsec-vpn dynvpn; user { user1; } } }
show access profile <profile-name> authentication-order
root@srx# show access profile user-auth-profile authentication-order radius;
Do you see the request coming from the SRX for the user in question? Is the SRX allowed as a Radius-Client? Are the user credentials reported as 'accepted' in the RADIUS logs? If you cannot determine the problem from the RADIUS logs, then continue with Step 7 .
auth-debug
user@srx# set system processes general-authentication-service traceoptions file auth-debug user@srx# set system processes general-authentication-service traceoptions flag all user@srx# run clear log auth-debug user@srx# commit [Have user attempt to connect and login again] user@srx> show log auth-debug
user@srx# set system processes general-authentication-service traceoptions file auth-debug user@srx# set system processes general-authentication-service traceoptions flag all user@srx# run clear log auth-debug user@srx# commit
user@srx> show log auth-debug
user@srx# deactivate system processes general-authentication-service traceoptions
Debug output of successful authentication with RADIUS user : May 8 04:42:29 Auth-FSM: Process Auth-Request for session-id:9274600534156033537 May 8 04:42:29 Framework: Starting authentication May 8 04:42:29 authd_advance_module_for_aaa_request_msg: result:0 May 8 04:42:29 Authd module start May 8 04:42:29 authd_radius_start_auth: Starting RADIUS authentication May 8 04:42:29 authd_radius_build_basic_auth_request: got params profile=XAUTH-USER, username=user1 May 8 04:42:29 AUTHEN - module(radius) return: ASYNC May 8 04:42:29 RADIUS server 172.18.66.10:1812 was used for last request May 8 04:42:29 Radius result is CLIENT_REQ_STATUS_SUCCESS May 8 04:42:29 Vendor-Id: 0 Attribute Type:Class(25) Value:string-type Length:100 May 8 04:42:29 authd_radius_parse_message:generic-type:25 May 8 04:42:29 authd_radius_parse_message:generic-type:8 May 8 04:42:29 Framework - module(radius) return: SUCCESS May 8 04:42:29 authd_advance_module_for_aaa_response_msg: result:2
May 8 04:42:29 Auth-FSM: Process Auth-Request for session-id:9274600534156033537 May 8 04:42:29 Framework: Starting authentication May 8 04:42:29 authd_advance_module_for_aaa_request_msg: result:0 May 8 04:42:29 Authd module start May 8 04:42:29 authd_radius_start_auth: Starting RADIUS authentication May 8 04:42:29 authd_radius_build_basic_auth_request: got params profile=XAUTH-USER, username=user1 May 8 04:42:29 AUTHEN - module(radius) return: ASYNC May 8 04:42:29 RADIUS server 172.18.66.10:1812 was used for last request May 8 04:42:29 Radius result is CLIENT_REQ_STATUS_SUCCESS May 8 04:42:29 Vendor-Id: 0 Attribute Type:Class(25) Value:string-type Length:100 May 8 04:42:29 authd_radius_parse_message:generic-type:25 May 8 04:42:29 authd_radius_parse_message:generic-type:8 May 8 04:42:29 Framework - module(radius) return: SUCCESS May 8 04:42:29 authd_advance_module_for_aaa_response_msg: result:2
Debug output when the user does not exist on the RADIUS server :
May 8 04:33:34 ################################################################### May 8 04:33:34 Auth-FSM: Process Auth-Request for session-id:9274600525566262640 May 8 04:33:34 Framework: Starting authentication May 8 04:33:34 authd_advance_module_for_aaa_request_msg: result:0 May 8 04:33:34 Authd module start May 8 04:33:34 authd_radius_start_auth: Starting RADIUS authentication May 8 04:33:34 authd_radius_build_basic_auth_request: got params profile=XAUTH-USER , username=user1 May 8 04:33:34 AUTHEN - module(radius) return: ASYNC May 8 04:33:34 RADIUS server 172.18.66.10:1812 was used for last request May 8 04:33:34 Radius result is CLIENT_REQ_STATUS_SUCCESS May 8 04:33:34 Vendor-Id: 0 Attribute Type:Reply-Message(18) Value:string-type Length:38 May 8 04:33:34 authd_radius_parse_message:generic-type:18 May 8 04:33:34 Vendor-Id: 0 Attribute Type:Reply-Message(18) Value:string-type Length:36 May 8 04:33:34 authd_radius_parse_message:generic-type:18 May 8 04:33:34 Vendor-Id: 0 Attribute Type:Reply-Message(18) Value:string-type Length:15 May 8 04:33:34 authd_radius_parse_message:generic-type:18 May 8 04:33:34 Framework - module(radius) return: FAILURE May 8 04:33:34 authd_advance_module_for_aaa_response_msg: result:3
May 8 04:45:51 ################################################################### May 8 04:45:51 Auth-FSM: Process Auth-Request for session-id:9274600538450786892 May 8 04:45:51 Framework: Starting authentication May 8 04:45:51 authd_advance_module_for_aaa_request_msg: result:0 May 8 04:45:51 Authd module start May 8 04:45:51 authd_radius_start_auth: Starting RADIUS authentication May 8 04:45:51 authd_radius_build_basic_auth_request: got params profile=XAUTH-USER, username=user1 May 8 04:45:51 AUTHEN - module(radius) return: ASYNC May 8 04:45:51 RADIUS server 172.18.66.10:1812 was used for last request May 8 04:45:51 Radius result is CLIENT_REQ_STATUS_SUCCESS May 8 04:45:51 Vendor-Id: 0 Attribute Type:Reply-Message(18) Value:string-type Length:38 May 8 04:45:51 authd_radius_parse_message:generic-type:18 May 8 04:45:51 Vendor-Id: 0 Attribute Type:Reply-Message(18) Value:string-type Length:36 May 8 04:45:51 authd_radius_parse_message:generic-type:18 May 8 04:45:51 Vendor-Id: 0 Attribute Type:Reply-Message(18) Value:string-type Length:15 May 8 04:45:51 authd_radius_parse_message:generic-type:18 May 8 04:45:51 Framework - module(radius) return: FAILURE May 8 04:45:51 authd_advance_module_for_aaa_response_msg: result:3
2020-02-21: minor non-technical edits.