Specifications
Creating Keys and Certificates
RoamAbout Mobility System Software Configuration Guide 16-7
Creating Public-Private Key Pairs
Touseaself‐signedcertificateorCertificateSigning Req uest (CSR)certificateforRoamAbout
switchauthentication,youmustgenerateapublic‐privatekeypair.
Tocreateapublic‐privatekeypair,usethefollowingcommand:
crypto generate key {admin | domain | eap | ssh | web} {128 | 512 | 1024 | 2048}
Choosethekeylengthbasedonyourneedforsecurityortoconformwithyourorganization’s
practices.
Example
Forexample,thefollowingcommandgeneratesanadministrativekeypairof1024bits:
RBT-8100# crypto generate key admin 1024
admin key pair generated
Somekeylengthsapplyonlytospecifickeytypes.Forexample,128appliesonlytodomainkeys.
SSHrequiresanSSHauthenticationkey,butyoucanallowMSStogenerateitautomatically.The
firsttimeanSSHclientattemptstoaccesstheSSHserveronaRoamAboutSwitch,theswitch
automatically
generatesa1024‐byteSSHkey.Ifyouwanttouse a 2048‐bytekeyinstead,usethe
cryptogeneratekeyssh2048commandtogenerateone.
Generating Self-Signed Certificates
Aftercreatingapublic‐privatekeypair,youcangenerateaself‐signedcertificate.Togeneratea
self‐signedcertificate,usethefollowingcommand:
crypto generate self-signed {admin | eap | web}
Whenyoutypethecommand,theCLIpromptsyoutoenterinformationtoidentifythecertificate.
Example
RBT-8100# crypto generate self-signed admin
Country Name: US
State Name: CA
Locality Name: San Jose campus
Organizational Name: Enterasys
Organizational Unit: eng
Common Name: RAS1
Email Address: admin@example.com
Unstructured Name: RAS in wiring closet 120
Youmustincludeacommonname(string)whenyougenerateaself‐signedcertificate.Theother
informationisoptional.Useafullyqualifiednameifsuchnamesaresupportedonyournetwork.
Thecertificateappearsafteryouenterthisinformation.
Note: After you generate or install a certificate (described in the following sections), do not create
the key pair again. If you do, the certificate might not work with the new key, in which case you will
need to regenerate or reinstall the certificate.