Error: "Could not load key store 'null'" starting NM Web Portal
search cancel

Error: "Could not load key store 'null'" starting NM Web Portal

book

Article ID: 274876

calendar_today

Updated On:

Products

NetMaster Network Management for TCP/IP

Issue/Introduction

NetMaster (NM) Web Portal is failing on startup and returns an RC 100.

The log shows:

JVMJZBL2010E Exception occurred invoking org.springframework.boot.loader.WarLauncher.main()                                          
JVMJZBL2999T -> JniUtil.writeStackTrace()                                                                                            
JVMJZBL2007E Stack trace follows:
:
:
Caused by: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframew
ork.boot.web.server.WebServerException: Could not load key store 'null'                                                              
:
:                                                                                                                 
Caused by: org.springframework.boot.web.server.WebServerException: Could not load key store 'null'                                  
:                                                                                                                        
Caused by: java.lang.IllegalArgumentException: Resource location must not be null                                                    
:                                             
JVMJZBL2999T JvmExitHook entered with exitCode=0, javaMainReturnedOrThrewException=1                                                
:
JVMJZBL1047W JZOS batch launcher completed with Java exception, return code=100

Environment

Component: NetMaster for TCPIP

Release : 12.2

Cause

Trying to run the NM Web Portal in a non-secured environment. This is no longer allowed, as stated in the Configuration Methods section of the NetMaster 12.2 documentation:

Warning

The service will not start if you do not configure HTTPS using one of these methods.

Resolution

Configure secure communication for NetMaster Web Portal (and API Service too) as outlined in the Configure the Security Environment section of the documentation.  AT-TLS is the recommendation for API and Web Portal.