Cisco ASA Syslog 409017: Key ID key-id in key chain key-chain-name is invalid.
Reference for ASA firewall logs. Check the source documentation against your installed software version.
Cisco ASA message 409017
Severity 4 — Warning
Message format
%ASA-4-409017: Key ID key-id in key chain key-chain-name is invalid.Explanation
The Key ID configured in the key chain is out of range for OSPF. This may happen because the key chain allows Key ID values of the range which is not acceptable for OSPF.
Plain-English interpretation
An OSPF key chain has been configured with a Key ID outside the valid range of 1-255, which OSPF authentication requires. This typically occurs when importing or reusing a key chain designed for another routing protocol that permits a wider Key ID range. Reconfigure the affected security association with a compliant Key ID value.
Recommended action
Configure a new security association with a Key ID that is in the range 1-255.
Illustrative example
Illustration; not a captured production log.
Jan 15 14:32:18 fw-denver %ASA-4-409017: Key ID 512 in key chain OSPF_PROD is invalid.The ASA attempted to apply key chain OSPF_PROD to an OSPF neighbor but rejected it because Key ID 512 exceeds the maximum allowed value of 255 for OSPF authentication.
Search another message · Browse this range
Dataset generated May 29, 2026. Site content cleanup October 4, 2026; this is not a new Cisco documentation release.