09-01-2011 01:14 PM
Hi everybody,
Is it possible to generate a public RSA key of 4096-bits on an IOS router? We are running 12.4(24)T5. Have been going through some cisco doc and found this:
Cisco IOS 4096-Bit Public Key Support in IOS 12.4(11) and later.
However when I issue the command,
crypto ca trustpoint exampleCAkeys
rsakeypair exampleCAkeys ?
it only shows me the maximum of 2048. Am I missing something? Currently our root cert has a public key of 2048 and the routers a key of 1024. The goal is to increase the root cert and our routers cert to 4096-bits. If that's possible...
/K
09-01-2011 01:25 PM
From Cisco~
Peer public RSA key modulus values up to 4096 bits are automatically supported.
The largest private RSA key modulus is 4096 bits. Therefore, the largest RSA private key a router may generate or import is 4096 bits. However, RFC 2409 restricts the private key size to 2048 bits or less for RSA encryption.
The recommended modulus value for a CA is 2048 bits; the recommended modulus value for a client is 1024 bits.
09-01-2011 03:14 PM
OK, so does this mean that I cannot generate a private key of 4096 bits?
Can I import a root ca of 4096 bits?
/K
09-02-2011 05:37 AM
Patrik Karlsson wrote:
OK, so does this mean that I cannot generate a private key of 4096 bits?
Can I import a root ca of 4096 bits?
/K
You can only generate a key of 2048, but you can import a key with 4096.
09-02-2011 07:04 AM
OK, just upgraded to IOS 15.1 and now I have the option to generate keys of 4096 bits.
/K
09-02-2011 07:12 AM
By the way... according to Cisco's feature navigator - in order to support "Cisco IOS 4096-Bit Public Key Support" I need to be running at least IOS 12.4(11)T. However I've managed to import a root cert of 4096 bits on IOS 12.4(9)T. Am I missing something?
/K
09-02-2011 07:17 AM
Generating a key in IOS is/was limited to 2048 which is limited by the RFC. However the CA can ignore the RFC can generate a 4096 key. The router supports the key since it did not have to generate it. Holding the key is much different than generating the key.
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