No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
export certificate

export certificate

Function

The export certificate command is used to generate private key and certificate request files based on application scenarios and export the certificate request files for subsequent signature and certificate import.

Format

export certificate ip=? user=? password=? type=? certificate_path=? [ port=? ] [ protocol=? ] [ algorithm=? ]

Parameters

Parameter

Description

Value

ip=?

IP address of the FTP/SFTP server.

-

user=?

User allowed by the FTP/SFTP server.

The value contains 1 to 64 characters without colons (:).

password=?

Password of a user allowed by the FTP/SFTP server.

The value contains 1 to 64 characters.

type=?

Certificate type.

Possible values are:

  • "key_management_center": key management center.
  • "device_management": device management.
  • "domain_authentication": domain authentication.
  • "hypermetro_arbitration": HyperMetro arbitration.
  • "syslog_authentication": Syslog server authentication.
  • "remote_om_link": remote OM link.

certificate_path=?

Path for storing the certificate file on the FTP/SFTP server.

The value is a character string that ends with file name extension ".csr" (case insensitive).

port=?

Port of the FTP/SFTP server.

The value is an integer from 1 to 65535.

  • If protocol=FTP, the default value is "21".
  • If protocol=SFTP, the default value is "22".

protocol=?

Protocol used for transmitting the new certificate and private key.

The value can be "FTP" or "SFTP" and the default value is "SFTP".

algorithm=?

Encryption algorithm.

The value can be:

  • "RSA_2048": RSA encryption algorithm. The key contains 2048 bits.
  • "RSA_4096": RSA encryption algorithm. The key contains 4096 bits.
  • "ECC_256": ECC encryption algorithm. The key contains 256 bits.

The default value is "RSA_2048".

Level

Administrator

Usage Guidelines

  • This command can be used to generate private keys and certificate request files for device management storage arrays, domain authentication storage array, and Syslog server authentication storage arrays.
  • This command can only be used to export certificate request files from a storage system to the FTP or SFTP server connected to the storage system.
  • The certificate type supported by this command can be "key_management_center", "device_management", "domain_authentication", "hypermetro_arbitration", "syslog_authentication", or "remote_om_link".
NOTE:

Prerequisites:

  • Storage systems can correctly access the FTP server or SFTP server over the network.
  • The FTP or SFTP service has been enabled on the server.
  • A directory has been created for storing security certificates.

If a storage system serves as a server in the file transfer with external systems, the storage system supports SFTP only. If a storage system serves as a client, the storage system supports both FTP and SFTP.

Example

Generate and export certificate request files based on application scenarios.


admin/>export certificate ip=10.133.194.20 user=admin password=****** type=device_management certificate_path=/temp.csr protocol=SFTP port=22 algorithm=RSA_2048 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 122607

Downloads: 151

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next