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: Manually Generating Self-Signed Certificates

    This example shows how to generate self-signed certificates manually.

    Requirements

    Before you begin, generate a public private key pair. See Example: Generating a Public-Private Key Pair

    Overview

    For a manually generated self-signed certificate, you specify the DN when you create it. For an automatically generated self-signed certificate, the system supplies the DN, identifying itself as the creator.

    In this example, you generate a self-signed certificate with the e-mail address as mholmes@example.net. You specify a certificate-id of self-cert to be referenced by web management, which refers a key-pair of the same certificate-id.

    Configuration

    Step-by-Step Procedure

    To generate the self-signed certificate manually:

    1. Create the self-signed certificate.
      user@host> request security pki local-certificate generate-self-signed certificate-id self-cert subject CN=abc domain-name example.net ip-address 1.2.3.4 email mholmes@example.net

    Verification

    To verify the certificate was properly generated and loaded, enter the show security pki local-certificate operational mode command.

    Modified: 2016-07-06