cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1406
Views
1
Helpful
7
Replies

Cisco 9300 CISCO_IDEVID_CMCA_SUDI weak RSA Key

mtoro82
Level 1
Level 1

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.

 

 

7 Replies 7

@mtoro82 

 Why you unable to regenerate it?  you can not run the command 'crypto key generate rsa' ? 

@Flavio Miranda 

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

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?

Preston Chilcote
Cisco Employee
Cisco Employee

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.

 

@Preston Chilcote 

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.

Garry Cross
Level 1
Level 1

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.

The Bug ID says that a logging discriminator can be used to suppress the infernal logs.