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

FusionServer Tools 2.0 uREST User Guide 16

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).
Generating a CSR

Generating a CSR

Function

Generated a certificate signing request (CSR) for the SSL certificate.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD --timeout=TIMEOUT addcsr -CO COUNTRY -S STATE -CI CITY -ON ORGNAME -OU ORGUNIT -CN COMMONNAME

Parameters

Parameter

Description

Value

HOST

iBMC IP address or domain name. It is a mandatory parameter. If an IPv6 address is used, the IPv6 address must be included in square brackets, such as [1001::1001].

-

PORT

Port number. The default value is 443. It is an optional parameter.

Enter the port number if the default value 443 is not used.

USERNAME

iBMC user name. It is a mandatory parameter.

-

PASSWORD

Password of the iBMC user. It is a mandatory parameter.

-

TIMEOUT

Timeout interval for accessing the iBMC Redfish interface. It is an optional parameter. The default value is 120 seconds.

The value ranges from 10 to 1000, and the unit is seconds.

COUNTRY

Country to which the user belongs. It is a mandatory parameter.

The value contains two characters, including letters.

STATE

Province to which the user belongs. It is an optional parameter.

The value contains a maximum of 128 characters, including letters, digits, hyphens (-), underscores (_), periods (.), and spaces.

CITY

City to which the user belongs. It is an optional parameter.

The value contains a maximum of 128 characters, including letters, digits, hyphens (-), underscores (_), periods (.), and spaces.

ORGNAME

Company to which the user belongs. It is an optional parameter.

The value contains a maximum of 64 characters, including letters, digits, hyphens (-), underscores (_), periods (.), and spaces.

ORGUNIT

Department to which the user belongs. It is an optional parameter.

The value contains a maximum of 64 characters, including letters, digits, hyphens (-), underscores (_), periods (.), and spaces.

COMMONNAME

Name of the user. It is a mandatory parameter.

The value contains a maximum of 64 characters, including letters, digits, hyphens (-), underscores (_), periods (.), and spaces.

Usage Guidelines

None

Example

Obtain help information.

linux-2hqw:~/Downloads/bin # ./urest -H 10.10.10.10 -U ****** -P ****** addcsr -h
usage: urest addcsr [-h] -CO COUNTRY [-S STATE] [-CI CITY] [-ON ORGNAME]
                         [-OU ORGUNIT] -CN COMMONNAME 

optional arguments: 
  -h, --help      show this help message and exit 
  -CO COUNTRY     country, consist of two characters 
  -CO COUNTRY     country, consist of two characters 
  -CI CITY        city 
  -ON ORGNAME     organizations name 
  -OU ORGUNIT     organizations unit 
  -CN COMMONNAME  common name

Generate a CSR.

linux-2hqw:~/Downloads/bin # ./urest -H 10.10.10.10 -U ****** -P ****** addcsr -CO ZH -CN 10.10.10.10 
Success: successfully completed request
Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 120676

Downloads: 587

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next