PowerFlex Gateway Not Available After HTTPS Certificate Changes

Summary: Issue Description: After changing the SSL certificate from self-signed to custom that the PowerFlex Gateway uses for browser access, the web page is no longer accessible.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Symptoms

 - Using the IP or DNS name for the Gateway states the site cannot be reached.

 - The service is running successfully.

# systemctl status scaleio-gateway
● scaleio-gateway.service - EMC ScaleIO Gateway service
   Loaded: loaded (/etc/systemd/system/scaleio-gateway.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2023-11-06 13:21:11 EST; 3min 44s ago
  Process: 23621 ExecStart=/opt/emc/scaleio/gateway/bin/startup.sh > /dev/null 2> /dev/null (code=exited, status=0/SUCCESS)
 Main PID: 23635 (java)
   CGroup: /system.slice/scaleio-gateway.service
           └─23635 /usr/bin/java -Djava.util.logging.config.file=/opt/emc/scaleio/gateway/conf/logging.properties -Djava.util.logging.manager=org.apache.jul...

Nov 06 13:21:11 rhel-79 systemd[1]: Starting EMC ScaleIO Gateway service...
Nov 06 13:21:11 rhel-79 startup.sh[23621]: Tomcat started.
Nov 06 13:21:11 rhel-79 systemd[1]: Started EMC ScaleIO Gateway service.


 - The catalina log files show that the keystore is not able to be opened:

06-Nov-2023 11:59:04.189 SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-443]]
        org.apache.catalina.LifecycleException: Protocol handler initialization failed
                at org.apache.catalina.connector.Connector.initInternal(Connector.java:1075)
                at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
        Caused by: java.lang.IllegalArgumentException: Keystore was tampered with, or password was incorrect
 

Impact

The Gateway UI is unavailable. 

Cause

Root Cause

In this case, the /opt/emc/scaleio/gateway/conf/catalina.properties file has two values that are edited when adding a custom certificate to the Gateway:
keystore.file = <keystore location>
keystore.password = <password>

The password to the keystore had an extra space at the end of the line. 

Resolution

Workaround

Remove extra white-space at the end of the password line and restart the Gateway service.

service scaleio-gateway restart

 

Verify that the keystore can be opened as expected with this command:

keytool -list -keystore <keystore location> -storepass <password>
If it opens, that means the password is correct.

Impacted Versions

PowerFlex 3.x

Fixed In Version

N/A - Not a PowerFlex issue

Products

PowerFlex rack, VxFlex Ready Nodes, PowerFlex custom node, PowerFlex appliance R650, PowerFlex appliance R6525, PowerFlex appliance R660, PowerFlex appliance R6625, Powerflex appliance R750, PowerFlex appliance R760, PowerFlex appliance R7625 , PowerFlex custom node, PowerFlex custom node R650, PowerFlex custom node R6525, PowerFlex custom node R660, PowerFlex custom node R6625, PowerFlex custom node R750, PowerFlex custom node R760, PowerFlex custom node R7625, PowerFlex custom node R860, PowerFlex appliance R640, PowerFlex appliance R740XD, PowerFlex appliance R7525, PowerFlex appliance R840 ...
Article Properties
Article Number: 000263856
Article Type: Solution
Last Modified: 24 Dec 2024
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.