Use the commands in this section to increase the minimum key size.
To specify the minimum key size:
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Specify the size:
hostname (config) # crypto certificate min-key-size <bits>where
<bits>is the minimum number of bits.Important
You cannot generate a self-signed certificate with a key that is longer than 8192 bits.
Save your changes:
hostname (config) # write memory