Crypto Pki Import Pkcs12 - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

P
K
I
C
UBLIC
EY
NFRASTRUCTURE
OMMANDS
12
CRYPTO PKI IMPORT PKCS

crypto pki import pkcs12

Overview
This command imports a certificate and private key for an entity in a trustpoint
from a file in PKCS#12 format at the specified URL. The command prompts for a
passphrase to decrypt the private key within the file.
crypto pki import <trustpoint> pkcs12 {ca|server} <url>
Syntax
Mode
Privileged Exec
Usage
If the ca option is specified, this command imports the root CA certificate and the
corresponding private key. This is only valid if the root CA certificate does not
already exist for the trustpoint (i.e., if the trustpoint is unauthenticated).
If the server option is specified, this command imports the server certificate and
the corresponding private key. The imported private key is given a new unique
label of the form "localN", where N is a non-negative integer. This operation is only
valid if the server certificate does not already exist for the trustpoint (i.e., if the
server is not enrolled to the trustpoint).
PKCS#12 files for RADIUS users may not be imported with this command. (There is
no value in doing so, as the files are not needed on the local system.)
The specified trustpoint must already exist. The key and certificate must not
already exist.
Example
To import the PKCS#12 file "example.pk12" for the trustpoint "example" to the URL
"tftp://backup/", use the following commands:
awplus>
awplus#
tftp://backup/example.pk12
Related
crypto pki export pkcs12
Commands
crypto pki import pem
C613-50170-01 Rev B
Parameter
Description
<trustpoint>
The name of the trustpoint for which the certificate and key are to
be imported.
ca
If this option is specified, the command imports the root CA
certificate and corresponding key.
server
If this option is specified, the command imports the server
certificate and corresponding key.
<url>
The source URL for the PKCS#12 file. The format of the URLis the
same as any valid destination for a file copy command.
enable
crypto pki import example pkcs12 ca
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
1962

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents