Explains public key-pairs for Cisco IOS XR certificate-based trust, including the source behavior, constraints, and operational details that support certification authority interoperability.
A public key-pair is a cryptographic credential that
-
consists of a mathematically linked public and private key
-
enables secure communication and authentication, and
-
supports multiple cryptographic algorithms such as RSA, DSA, ECDSA, and ED25519.
Feature history
|
Feature Name |
Release Information |
Feature Description |
|---|---|---|
|
Syslog alerts on public keys generated in XR config mode |
Release 26.1.1 |
Introduced in this release on: Fixed Systems (8200 [ASIC: P100], 8700 [ASIC: P100, K100], 8010 [ASIC: A100])(select variants only*); Modular Systems (8800 [LC ASIC: P100])(select variants only*) This enhancement ensures Cisco IOS XR devices remain compliant with evolving security standards. During system reboot, the device now sends syslog warnings for public keys if weak SSH host keys are detected—specifically, RSA keys less than 3072 bits or any DSA keys. Additionally, the default RSA key size has been increased from 2048 to 3072 bits to further strengthen security. This feature introduces these changes: CLI: .
|
|
Public Key-Pair Generation in XR Config Mode |
Release 25.1.1 |
Introduced in this release on: Fixed Systems (8700 [ASIC: K100])(select variants only*) *This feature is supported on the Cisco 8712-MOD-M routers. |
|
Public Key-Pair Generation in XR Config Mode |
Release 24.4.1 |
Introduced in this release on: Fixed Systems (8200 [ASIC: P100], 8700 [ASIC: P100])(select variants only*); Modular Systems (8800 [LC ASIC: P100])(select variants only*) *This feature is supported on:
|
|
Public Key-Pair Generation in XR Config Mode |
Release 7.3.2 |
This feature allows you to generate public-key pairs in the XR Config mode, which in turn lets you save configurations. You can then load these saved configurations across different routers to quickly deploy the key-pair configurations. You could generate public-key pairs in earlier releases only in the XR EXEC mode, which does not save configurations. So manually executing the key-pair generation commands on every router was time-consuming. The following commands are available in XR Config mode, in addition to XR EXEC mode: |
Additional reference information
Syslog alerts on public keys generated in XR config mode (Cisco IOS XR Release 26.1.1):
-
The default RSA key size is 3072 bits.
-
A syslog warning is triggered during system boot if a weak SSH host key is detected (RSA key less than 3072 bits).
-
DSA keys are no longer auto-generated at boot. If present, a syslog warning prompts removal.
-
These changes align device behavior with current cryptographic security standards and improve protection.
The following table lists the supported key types and key sizes in FIPS and non-FIPS modes:
| Key Type | Non-FIPS Mode | FIPS Mode |
|---|---|---|
| RSA | Supported for all key sizes from 512–4096 | Supported for key sizes 2048, 3072, 4096 |
| DSA | Supported for key sizes 512, 768, 1024 | Supported for key size 2048 |
| ECDSA | Supported for nistp256, nistp384, nistp512 | Supported for nistp256, nistp384, nistp512 |
| ED25519 | Supported | Not Supported |
For more details on FIPS, see the Configuring FIPS Mode chapter.