beautypg.com

Allied Telesis AT-S62 User Manual

Page 371

background image

AT-S62 Command Line User’s Guide

371

Examples

The following command creates a self-signed certificate. It assigns the
certificate the filename “sw12.cer”. (The management software
automatically adds the “.cer” extension.) The command uses the key pair
with the ID 12 to create the certificate. The format is ASCII and the
distinguished name is the IP address of a master switch:

create pki certificate=sw12 keypair=12
serialnumber=0 format=pem
subject=”cn=149.11.11.11”

The following command creates a self-signed certificate with a filename
of “S45 cert”. The key pair used to create it has the ID 5. No format is
specified, so the default binary format is used. The distinguished name is
the IP address of another master switch:

create pki certificate=”S45 cert” keypair=5
serialnumber=0 subject=”cn=149.22.22.22”