We are trying to setup ssl for the clients using the ssl custom setup doc. We have a wildcard cert from godaddy for our development network. the load balancer is using the same cert. We debug set and the log does not give much to go on. Any help appreciated
We used keytool to create the keystore and import the cert
keytool -import -keystore user_keystore -file appworxd.crt -alias appworxd
cd ../web/classses
java -DAW_HOME=${AW_HOME} -cp AppWorx.jar:uc4-ra.jar com.appworx.util.EncryptKeystoreFile {used password for keystore/cert}
We edited the Options.properties file to set SSL=on and also the site/awenv.ini SSL=Yes
When start the master/agents the AgentService log gets
14:55:11.146 AgentService: .AwComm: sending message to awcomm 22C R:DAUTO AgentService*
14:55:11.151 AgentService: .AwComm: lookup 60010 Y 172.20.178.12
14:55:11.151 AgentService: .AgentService: createSocket: 172.20.178.12:60010 From djob.ccsnh.edu/172.20.178.12:0 encrypt true
14:55:11.151 AgentService: .AgentService: using sun ssl
14:55:11.171 AgentService: .SocketManager: TLSv1.2 SunJSSE version 1.8
14:55:11.173 AgentService: .KeyManager: ---alias: appworxd
14:55:11.173 AgentService: AwE-9999
14:55:11.174 AgentService: .AxOptions: NoErrorMsgProperties=false
ErrorMsg: AwE-9999 Internal error (10/19/20 2:55 PM)
Details: null
Internal error : null : java.lang.NullPointerException
at com.appworx.agent.AgentService.createSocket(AgentService.java:638)
at com.appworx.agent.AgentService.B(AgentService.java:776)
at com.appworx.agent.AgentService.A(AgentService.java:669)
at com.appworx.agent.AgentService.<init>(AgentService.java:357)
at com.appworx.agent.AgentService.main(AgentService.java:1006)
Caused by: java.lang.NullPointerException
at com.appworx.server.ssl.B.A(KeyMgr.java:51)
at com.appworx.server.ssl.A.A(TrustMgr.java:11)
at com.appworx.agent.AgentSocketManager.G(AgentSocketManager.java:82)
at com.appworx.agent.AgentService.createSocket(AgentService.java:610)
... 4 more
java.lang.NullPointerException
at com.appworx.server.ssl.B.A(KeyMgr.java:51)
at com.appworx.server.ssl.A.A(TrustMgr.java:11)
at com.appworx.agent.AgentSocketManager.G(AgentSocketManager.java:82)
at com.appworx.agent.AgentService.createSocket(AgentService.java:610)
at com.appworx.agent.AgentService.B(AgentService.java:776)
at com.appworx.agent.AgentService.A(AgentService.java:669)
at com.appworx.agent.AgentService.<init>(AgentService.java:357)
at com.appworx.agent.AgentService.main(AgentService.java:1006)
RmiServer log gets
14:55:08.524 main: .SocketManager: findPort 0 true
14:55:08.524 main: .SocketManager: Try port 60010
14:55:08.543 main: .SocketManager: TLSv1.2 SunJSSE version 1.8
14:55:08.544 main: .KeyManager: ---alias: appworxd
14:55:08.545 main: .SocketManager: findPort: 60010 java.lang.NullPointerException
14:55:08.545 main: .SocketManager: Try port 60011
.
.
.
14:55:08.976 main: .SocketManager: TLSv1.2 SunJSSE version 1.8
14:55:08.976 main: .KeyManager: ---alias: appworxd
14:55:08.976 main: .SocketManager: findPort: 65535 java.lang.NullPointerException
14:55:08.976 main: AwE-5125
14:55:08.979 main: .AxOptions: NoErrorMsgProperties=false
ErrorMsg: AwE-5125 No port available (10/19/20 2:55 PM)
Details: 60010-65535
java.lang.RuntimeException
at com.appworx.server.data.SocketManager.findPort(SocketManager.java:363)
at com.appworx.server.data.AxRmiServer.main(AxRmiServer.java:876)
.
.
.
------------- awenv.ini Default Section Values ----- END ------------
14:55:08.980 main: .AxRmiServer$1: null ErrorMsg: AwE-5125 No port available (10/19/20 2:55 PM)
Details: 60010-65535
14:55:08.980 main: .AxRmiServer: serverSocket null
14:55:08.983 main: AwE-9999
ErrorMsg: AwE-9999 Internal error (10/19/20 2:55 PM)
Details: null
java.lang.NullPointerException
at com.appworx.server.data.AxRmiServer.main(AxRmiServer.java:878)
14:55:08.983 main: .AxRmiServer$1: null ErrorMsg: AwE-9999 Internal error (10/19/20 2:55 PM)
Details: null
Thanks for any help
Larry