02-06-2025 10:31 AM
Hello I am getting several errors in the log for a weak RSA key
the error as shown is %CRYPTO_ENGINE-4-CSDL_COMPLIANCE_RSA_WEAK_KEYS: RSA keypair CISCO_IDEVID_CMCA_SUDI is in violation of Cisco security compliance guidelines and will be rejected.
When checking I do see CISCO_IDEVID_CMCA_SUDI is 1024 bit but I am unable to regenerate so it can be in compliance. Is there a workaround for this?
I am currently running Cisco IOS XE Software, Version 17.15.01 and is dna-essential smart license.
02-06-2025 11:27 AM
Why you unable to regenerate it? you can not run the command 'crypto key generate rsa' ?
02-06-2025 12:00 PM
When I run 'crypto key generate rsa label CISCO_IDEVID_CMCA_SUDI modulus 2048' I get a '% The key name requested CISCO_IDEVID_CMCA_SUDI is reserved'.
All my others keys are in compliance except this CISCO_IDEVID_CMCA_SUDI
02-06-2025 12:05 PM
I dont follow you, sorry. If the name is taken or reserved why dont you change the label, or, why you dont run the command 'crypto key generate rsa' only?
02-06-2025 12:08 PM
I believe those SUDI keys can only be set in manufacturing. A bug (CSCwm74317) is fixed in 17.15.2 that suppresses the recurring nature of the error, only printing it the first time. I can't find anything that says these errors can cause a noticeable impact to the switch.
02-06-2025 12:40 PM - edited 02-06-2025 12:41 PM
I figured it a bug and it not something to worry about. It just annoying to see it on the logs. I will probably try to update it to 17.15.2 or wait until a fix is out.
03-03-2025 10:36 AM
And it is a waste of peoples time when this error appears and you try to fix it, only to find out you can't zeroize it. There isn't any message. And if you try to change it as above, only then you find out if it is reserved. Cisco; stop generating messages for things a person can do nothing about.
03-03-2025 03:23 PM
The Bug ID says that a logging discriminator can be used to suppress the infernal logs.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide