request security pki node-local generate-key-pair
Syntax
request security pki node-local generate-key-pair certificate-id certificate-id-name <size (256 | 384 | 521 |1024 | 2048 | 4096)> <type (dsa | ecdsa | rsa)>
Description
Generate a public key infrastructure (PKI) public/private key pair for a local digital certificate on the local node in a Multinode High Availability setup.
Options
certificate-id certificate-id-name | Name of the local digital certificate and the public/private key pair. |
size | Key pair size. The key pair size can be 256, 384, 521, 1024, 2048, or 4096 bits. Key size compatibility
When you use ECDSA-521 signatures, you can:
|
type | The algorithm to be used for encrypting the public/private key pair:
|
Required Privilege Level
maintenance
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
request security pki generate-key-pair
user@host> request security pki node-local generate-key-pair certificate-id cert-123 type rsa size 4096 Generated key pair cert-123, key size [4096] bits
Release Information
Command introduced in Junos OS Release 22.3R1.