Gateway wont' start: java.lang.NullPointerException: No password supplied for PKCS#12 KeyStore
search cancel

Gateway wont' start: java.lang.NullPointerException: No password supplied for PKCS#12 KeyStore

book

Article ID: 276094

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

After the DB import and upgrade the gateway is stuck at 'won't_start' status.  The log says:

**** Unable to start the server: Error starting server : Error creating bean with name 'clusterHttpRequestExecutor' defined in class path resource [com/l7tech/server/resources/adminContext.xml]: Cannot resolve reference to bean  'clusterHttpComponentsClient' while setting constructor argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 
'clusterHttpComponentsClient' defined in class path resource [com/l7tech/server/resources/adminContext.xml]: 
Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: 
Failed to instantiate [com.l7tech.gateway.common.spring.remoting.http.SecureHttpComponentsClient]: Constructor threw 
exception; nested exception is java.lang.NullPointerException: No password supplied for PKCS#12 KeyStore.

Environment

ssg 10.x, 11.x

Cause

FIPS is enabled by setting cluster wide property security.fips.enabled to true 

Resolution

Set cluster wide property (ssg database cluster_properties table row propkey = 'security.fips.enabled' or remove the row)  security.fips.enabled to false and restart the gateway. 

mysql commands: 

use ssg; 

update cluster_properties set propvalue=false where propkey='security.fips.enabled';