Brocade OS Command Reference Manual Supporting Fabric OS v6.0.0 (53-1000599-01, October 2007)

Fabric OS Command Reference 545
53-1000599-01
secCertUtil
2
showcsr Displays the contents of the CSR in the switch without page breaks. Use pipe
operator followed by “more” option to display the contents of the CSR in the
switch page breaks.
seccertutil show List certificates
seccertutil show file name
Display certificate content
Examples To generate a public/private key pair:
switch:admin> seccertutil genkey
Generating a new key pair will automatically do the following:
1. Delete all existing CSRs.
2. Delete all existing certificates.
3. Reset the certificate filename to none.
4. Disable secure protocols.
Continue (yes, y, no, n): [no] y
Select key size [1024 or 2048]:
Generating new rsa public/private key pair
Done.
To generate a CSR:
switch:admin> seccertutil gencsr
Country Name (2 letter code, eg, US):
State or Province Name (full name, eg, California):
Locality Name (eg, city name):
Organization Name (eg, company name):
Organizational Unit Name (eg, department or section name):
Common Name (Fully qualified Domain Name, or IP address):
generating CSR, file name is: <ip_address>.csr
Done
To delete the CSR:
switch:admin> seccertutil delcsr
WARNING!!!
About to delete the switch CSR.
ARE YOU SURE (yes, y, no, n): [no] y
To import a certificate:
switch:admin> seccertutil import
Select protocol [ftp or scp]: ftp
Enter IP address: ip address
Enter remote directory: dir name where certificate is stored
Enter certificate name (must have ".crt" or ".pem" suffix): filename
Enter Login Name: login
Enter Password: password
Success: imported certificate [certificate file name].
To import a certificate with configure and enable option:
switch:admin> seccertutil import -config swcert -enable https
Select protocol [ftp or scp]: ftp
Enter IP address: ip address