APAR status
Closed as program error.
Error description
Receive Certificate command fails with the following error. ------------ Sample snippet ----------- com.ibm.websphere.management.async.client.AsyncCommandClient.ex ecute187 [9/29/22 15:34:47:883 CDT] 00000001 AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.websphere.management.cmdframework.CommandException java.lang.NullPointerException: java.lang.NullPointerException " follows: com.ibm.websphere.management.cmdframework.CommandException at com.ibm.ws.ssl.commands.personalCertificates.ReceiveC ertificate.afterStepsExecuted(ReceiveCertificate.java:204) at com.ibm.websphere.management.cmdframework.provider.Ab stractTaskCommand.executeReal(AbstractTaskCommand.java:855) at com.ibm.websphere.management.cmdframework.provider.Ab stractTaskCommand.execute(AbstractTaskCommand.java:807) at com.ibm.ws.management.cmdframework.impl.RemoteCommand MgrImpl.execute(RemoteCommandMgrImpl.java:370) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet hodAccessorImpl.java:90) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg atingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:83) at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg atingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:287) at javax.management.modelmbean.RequiredModelMBean$4.run( RequiredModelMBean.java:1263) at java.security.AccessController.doPrivileged(AccessCon troller.java:708) at java.security.ProtectionDomain$JavaSecurityAccessImpl .doIntersectionPrivilege(ProtectionDomain.java:85) at javax.management.modelmbean.RequiredModelMBean.invoke Method(RequiredModelMBean.java:1257) at javax.management.modelmbean.RequiredModelMBean.invoke (RequiredModelMBean.java:1096) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor .invoke(DefaultMBeanServerInterceptor.jav a:831) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke( JmxMBeanServer.java:813) at com.ibm.ws.management.AdminServiceImpl$1.run(AdminSer viceImpl.java:1353) at com.ibm.ws.security.util.AccessController.doPrivilege d(AccessController.java:118) at com.ibm.ws.management.AdminServiceImpl.invoke(AdminSe rviceImpl.java:1246) at com.ibm.ws.management.connector.AdminServiceDelegator .invoke(AdminServiceDelegator.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet hodAccessorImpl.java:90) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg atingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) at com.ibm.ws.management.connector.soap.SOAPConnector.in voke(SOAPConnector.java:503) at com.ibm.ws.management.connector.soap.SOAPConnector.se rvice(SOAPConnector.java:337) at com.ibm.ws.management.connector.soap.SOAPConnection.h andleRequest(SOAPConnection.java:65) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(H ttpConnection.java:733) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:522) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909) Caused by: java.lang.NullPointerException at com.ibm.ws.ssl.commands.personalCertificates.ReceiveC ertificate.findCert(ReceiveCertificate.java:449) at com.ibm.ws.ssl.commands.personalCertificates.ReceiveC ertificate.buildChain(ReceiveCertificate.java:405) at com.ibm.ws.ssl.commands.personalCertificates.ReceiveC ertificate.personalCertificateReceive(ReceiveCertificate.java:3 36) at com.ibm.ws.ssl.commands.personalCertificates.ReceiveC ertificate.afterStepsExecuted(ReceiveCertificate.java:200) ... 33 more
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * **************************************************************** * PROBLEM DESCRIPTION: Receive certificate from CA fails when * * the response file does not contain all * * entries needed to build the chain. * **************************************************************** * RECOMMENDATION: * **************************************************************** When a receive certificate from CA response file does not have all part of the certificate chain in it, the command fils with a NullPointerException while looking for the missing part. T
Problem conclusion
Fix the code to not expect all parts of the chain to be present the response file. And to look in the keystore to see if the signers may be there already. The fix for this APAR is targeted for inclusion in fix pack 8.5.5.23 and 9.0.5.15. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH49944
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-09-30
Closed date
2022-11-21
Last modified date
2022-11-21
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
22 November 2022