Customer has configured firewall authentication in the firewall policy in SRX to allow specific usernames to access network resources. The Import of the Firewall policy fails with the error "Import Firewall Policy <name> Failed".
The configuration for firewall authentication in the firewall policy is as below.
set security policies global policy fw-auth-1 then permit firewall-authentication web-authentication client-match abc
set security policies global policy fw-auth-1 then permit firewall-authentication web-authentication client-match def
set security policies global policy fw-auth-1 then permit firewall-authentication web-authentication client-match ghi
set security policies global policy fw-auth-1 then permit firewall-authentication web-authentication client-match jkl
set security policies global policy fw-auth-1 then permit firewall-authentication web-authentication client-match mno
The SD.log contains the below errors with respect to the Import firewall policy job.
Caused by: org.hibernate.exception.DataException: could not execute statement
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'webAuthClientName' at row 1
This is a known issue in the 24.1R4 and below versions of SD.
The fix for the above issue is available in the 24.1R5 version of SD and the below steps need to be followed to implement the fix.
After following the above steps, please perform the Import of the firewall policy in SD and then once the import is a success, please proceed with the Publish / Update of the firewall policy.