Minuteman UPS SNMP-NV6 User Manual

Page of 43
SNMP-NV6 
Page 42
 
12 
How do I generate a private SSL certificate file (PEM format) for HTTPS? 
Answer: 
1)  Download the openssl from 
http://www.openssl.org
 and install it on the Linux 
machine. 
2)  Open the command shell and enter the following command to create your own 
certificate file: 
Openssl req –x509 –nodes –days 3650 –newkey rsa:1024 –keyout cert.pem –out cert.pem 
3)  Once it is complete the cert.pem will be created in the current working 
directory.  
4)  Upload the cert.pem file to the SNMP-NV6 card through the web page. 
 
13 
How do I generate the SSH DSA and RSA keys for SSH? 
Answer: 
For Linux Version: 
1)  Download the openssh from 
http://www.openssh.org
 and install it on the Linux 
machine. 
2)  Open the command shell and enter the following command to create your own 
keys: Ignore the passphrase when ask. 
DSA Key: 
ssh-keygen –t dsa 
RSA Key: 
ssh-keygen –t rsa 
3)  Upload the DSA and RSA key files to the SNMP-NV6 card through the web 
page. 
 
For Windows Version: 
1) 
Download the Putty from 
http://www.putty.org
 and install it. 
2) 
Run the puttygen.exe in the putty installed directory. 
3) 
Select  SSH-2 RSA from the Parameters area and select the Generate key 
pair
 from the Key menu to generate the RSA key. 
4) 
Select Export OpenSSH Key from the Conversions menu and assign a file 
name for the RSA key. Ignore the passphrase when ask. 
5) 
Select  SSH-2 DSA from the Parameters area and select the Generate key 
pair
 from the Key menu to generate the DSA key. 
6) 
Select Export OpenSSH Key from the Conversions menu and assign a file 
name for the DSA key. Ignore the passphrase when ask. 
7) 
Upload the DSA and RSA key files to the SNMP-NV6 card through the web 
page.