Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Generating a Public-Private Key Pair

    This example shows how to generate a public-private key pair.

    Requirements

    No special configuration beyond device initialization is required before configuring this feature.

    Overview

    In this example, you generate a public-private key pair named ca-ipsec.

    Configuration

    Step-by-Step Procedure

    To generate a public-private key pair:

    1. Create a certificate key pair.
      [edit]user@host> request security pki generate-key-pair certificate-id ca-ipsec

    Verification

    After the public-private key pair is generated, the Juniper Networks device displays the following:

    generated key pair ca-ipsec, key size 1024 bits

    Modified: 2016-07-06