Specifications

21-12 topology Commands
PKCS#12file,CSRfile,orPEM/DERfiles,and,ifsuccessful,convertsthePKCS#12file,CSRfile,or
PEM/DERfilesintoacertificateandkey.Thecommandconfirmsthatthecert ificatepassword
workswiththeprivatekeyfilethenassignsboththecertificateandkeytothenamedtopology.
Usingthecert
commandwiththedefaultoptionremovesthecertificatefromthenamedtopology
andassignsthefactorydefaultcertificatetoit.
Examples
ThefollowingexampledownloadsaPKCS#12certificatefileandachaincertificateusingFTPand
appliesittothetopologynamedtest.
EWC.enterasys.com:topology:test:l3# cert pkcs12 ftp 1.1.1.1 test abc123 /test
test.pfx abc123 chain.crt
Attempting to download file using ftp ...
ThefollowingexampledownloadsaPEM/DERcertificatefile,aPEM/DERkeyfile,anda chain
certificateusingFTPandappliesittothetopologynamedtest.
EWC.enterasys.com:topology:test:l3# cert per-der ftp 1.1.1.1 test abc123 /test
t certificate.crt privatekey.key abc123 chain.crt
Attempting to download file using ftp ...
ThefollowingexampledownloadsaCSRfileusingFTPandappliesittothetopologynamedtest.
EWC.enterasys.com:topology:test:l3# cert csr-cert ftp 1.1.1.1 test abc123 /test
test.csr
Thefollowingexamplesetsthecertificatetothefactorydefaultforthetopologynamedtest.
EWC.enterasys.com:topology:test:l3# cert default
EWC.enterasys.com:topology:test:l3# show cert
Factory default certificate/key
21.4.3.3 copy-csr
Usethiscommandtouploadatopologycertificatesigningrequesttoaserver.Thecopyscr
commandisavailableinthetopology:<namedtopology>:l3context.
Syntax
copy-csr <scp|ftp> <server> <user> <password> <dir>
Parameters
Note: This command generates an error if the indicated file name cannot be found.
scp|ftp Specifiesthetypeofserver,FTPorSCP,towhichthefilewillbe
uploaded.
server IPaddressoftheFTPorSCPserver.
user Usernametologintotheserver.
password Userpassword.
dir Directoryonservertoputthecertificatesigningrequestfile.