Generate the Key Pair

About this task

Use the following procedure to generate the private and public key pair for the specific cryptography type. By default, VOSS generates a 2,048 RSA key when the system starts. You can use this procedure to generate a new key.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Generate the key pair:

    certificate generate-keypair {type rsa size 2048}

Example

Generating the key pair:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#certificate generate-keypair type rsa size 2048

Variable Definition

The following table defines parameters for the generate-keypair command.

Variable

Value

type rsa

Specifies type of cryptography algorithm used to generate the key-pair. The switch uses only rsa as the cryptography algorithm type.

size 2048

Specifies the size or modulus of key-pair to be generated. The value should be 2048.