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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, 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. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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 requests based on application scenarios and export the certificate requests for subsequent signature and certificate import.

Format

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

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 63 characters.

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

The value contains 1 to 63 characters.

type=? Certificate type.

The value can be "key_management_center", "device_management", "domain_authentication", "hypermetro_arbitration", "https_protocol", "ftps_protocol", or "syslog_authentication", where:

"key_management_center": key management center.

"device_management": device management.

"domain_authentication": domain authentication.

"hypermetro_arbitration": HyperMetro arbitration.

"https_protocol": HTTPS protocol.

"ftps_protocol": FTPS protocol.

"syslog_authentication": SYSLOG server authentication.

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). The file name must be supported by the FTP and SFTP server.

port=? Port of the FTP/SFTP server.

The value must be an integer from 1 to 65,535, and 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".

Level

Super administrator,vstore admin

Usage Guidelines

  • This command can be used to generate private key and certificate requests for key management storage arrays, device management storage arrays, domain authentication storage array, HyperMetro arbitration storage arrays, HTTPS protocol storage arrays, FTPS protocol storage arrays, and SYSLOG server authentication storage arrays.
  • This command can only be used to export certificate requests 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", "https_protocol", "ftps_protocol", or "syslog_authentication".
NOTE:
Prerequisites: 1:Storage systems can correctly access the FTP server or SFTP server over the network. 2:The FTP or SFTP service has been enabled on the server. 3: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 requests based on application scenarios.

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

System Response

None

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084195

Views: 273145

Downloads: 1556

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