HP HPE G2 Series User Manual page 60

Metered, switched, and metered & switched power distribution unit
Table of Contents

Advertisement

Creating a certificate and private key
Create sha1/sha256 and 1024bits/2048bits certificate and private key for the PDU..
Prerequisites
The PDU needs the following environments to create a certificate and private key.
Operating system—Linux
Apps—OpenSSL
Procedure
1.
Open Terminal on your Linux operating system.
2.
Enter mkdir cer.
3.
Enter cd cer.
4.
Enter openssl req -x509 -$1 - newkey rsa :$ 2 - keyout cert.key -out cert.crt -
days $3 -nodes.
NOTE: You can generate different types of certificates and private keys based on different $1, $2 and $3.
To generate the different certificate and private keys, replace $1, $2 and $3 with the following options:
$1—sha1 or sha256
$2—1024 or 2048
$3—valid period of certificate
For example, openssl req -x509 -sha256 - newkey rsa:2048 - keyout cert.key -out
cert.crt -days 1024 -nodes. In this case, we are trying to generate sha256/2048bits certificate
and private key that can be valid for 1,024 days.
5.
To enter the following information, follow the instructions.
Country name
State
Locality name
Organization name
Organizational unit name
Common name
Email address
6.
Navigate to the cer folder and obtain the cert.crt and cert.key.
7.
Login to the PDU with the GUI>Network Setting>Web/ RESTapi Access Configuration.
8.
Make sure that the access is set to web access>Https and web port> 443, RESTapi Access>enable.
9.
Click the Set Certificate Key icon, and then choose SSL Certificate Key Length (1024/2048) bits.
10. Upload the cert.crt and cert.key.
60
Remote configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents