Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

request security pki generate-key-pair

Syntax

request security pki generate-key-pair certificate-id certificate-id-name <size (512 | 1024 | 2048)>

Release Information

Command introduced in Junos OS Release 7.5.

Description

Generate a Public Key Infrastructure (PKI) public and private key pair for a local digital certificate.

Options

certificate-id certificate-id-name

Name of the local digital certificate and the public/private key pair.

size

(Optional) Key pair size. The key pair size can be 512, 1024, or 2048 bits.

Required Privilege Level

maintenance

List of Sample Output

request security pki generate-key-pair

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 generate-key-pair certificate-id billy size 2048
Generated key pair billy, key size 2048 bits

Published: 2013-03-14

Published: 2013-03-14