Views:
If

A black and grey logo<br><br>Description automatically generated


Article #: KA-03836
Published: Jul/02/2025
Last reviewed: Jul/02/2025
 

How to update the G5 self signed certificate

 

Contents

 
  1. Introduction
  2. Purpose
  3. Requirements
  4. Procedure
  5. Troubleshooting
 

Introduction

The G5 PDU uses certificates to authenticate and secure the communication between the client and PDU web interface. The certificate is will expire after a period of time and will require replacement.

 

Purpose

The procedure in this document will show you a method of generating a replacement certificate. There are other methods of creating the certificate so if you feel you cannot install the tool required to perform this please look at other methods using PowerShell.

 

Requirements

A computer with OpenSSL installed.
For this example I have used Shining Light Productions installer, but you should be able to use other UpToDate versions of OpenSSL. https://slproweb.com/products/Win32OpenSSL.html
 

Procedure

  1. Download and install OpenSSL
  2. Open the OpenSSL command prompt.
  3. Generate a certificate key using the command “openssl genrsa -out cert.key 2048”
  4. Open a new notepad document and enter the contents from the textbox below modifying to suit your environment: C=Country, ST=State, L=Location, 0=Organisation, OU=Organisational unit, CN=Common Name(The PDU’s System Name), IP.1= IP Address, DNS.1=Same as Common Name.
  5.  
    [req]
    distinguished_name = req_distinguished_name
    req_extensions = req_ext
    prompt = no

    [req_distinguished_name]
    C = UK
    ST = Glos
    L = Coleford
    O = Panduit
    OU = IMS
    CN = G5BLK.Panduit.com

    [req_ext]
    subjectAltName = @alt_names

    [alt_names]
    IP.1 = 192.168.10.49
    DNS.1 = G5BLK.Panduit.com
  6. Save the file as “pdu.cnf” to the location the certificate key has been generated which should be in “c:\User\<Username>”
  7. From the OpenSSL prompt type “openssl req -new -key cert.key -out G5request.csr -config pdu.cnf” and hit return key.
  8. From the OpenSSL prompt type “openssl req -x509 -sha256 -days 7300 -key cert.key -in G5request.csr -out cert.crt -copy_extensions copyall” and hit enterkey. You will see a warning “Warning: Not placing -key in cert or request since request is used” which you can ignore.
  9. Open a browser to the PDU you are updating the certificate and log in as an administrator.
  10. Select the Gear icon>Network Settings.
  11. Select the pencil icon next to “Web/ RESTapi Access Configuration”
  12. A screenshot of a computer<br><br>AI-generated content may be incorrect.
  13. Select the “choose file” button for SSL Certificate and browse to the location you have generated the certificate “c:\Users\<Username>” and select the certificate “cert.crt”.
  14. Select the “choose file” button for the SSL Certificate Key and browse to the same location as the certificate to select the “cert.key”.
  15. Click Save.
  16. When prompted check the “do you really want to apply changes now” box and the click apply.
  17. A screenshot of a computer<br><br>AI-generated content may be incorrect. 
 

Troubleshooting


If you find you are unable to open the web interface after applying the new certificate it probably due to an error with you certificate. In order to gain access to update the certificate you will need to enable http access. This is only possible if you have ssh enable on the PDU which is on by default else you will have to do a reset to defaults by holding in the reset button for 20 second.
  1. Open puTTY or an alternative ssh client and connect to the PDU.
  2. A screenshot of a computer<br><br>AI-generated content may be incorrect.
  3. Login using your admin credentials
  4. A screenshot of a computer<br><br>AI-generated content may be incorrect.
  5. Type “net http on” and hit enter key.
  6. A computer screen shot of a black screen<br><br>AI-generated content may be incorrect.
  7. Type “y” and hot enter key to accept and reboot controller.
  8. When the controller has rebooted enter “http://<IP Address>” of PDU in the browser and log in.
  9. You should now be able to replace the certificate with a corrected one.




Panduit.com    SystemSupport@panduit.com    1-866-721-5302    Article: KA-03836