IBM Support

Unable to create PGP Subkey

Troubleshooting


Problem

When creating a PGP Subkey, the error below displays in the logs.
pgp.log
 
[2023-10-21 12:47:24.026] ERROR Exception retrieving PGP Secret Key Infos for KeyMap
[2023-10-21 12:47:24.026] ERROR [1697906844026] null
[2023-10-21 12:47:24.026] ERRORDTL [1697906844026]java.lang.NullPointerException
	at com.sterlingcommerce.security.kcapi.PGPSecretKeyInfoDb.listNonExpiredMasterKeysName(PGPSecretKeyInfoDb.java:1401)
	at com.sterlingcommerce.woodstock.ui.jspbean.PGPSecretKeysBean.buildSecretSubKeyCreateInput(PGPSecretKeysBean.java:635)
	at com.sterlingcommerce.woodstock.ui.jspbean.PGPSecretKeysBean.getInputs(PGPSecretKeysBean.java:136)
	at org.apache.jsp.jsp.wizedit_jsp._jspService(wizedit_jsp.java:504)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:465)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
	at org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:106)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

Symptom

When this error occurs, the Master keys are not populated and users are unable to create subkeys. 
image-20231021121623-1

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"ARM Category":[{"code":"a8m0z000000bpqlAAA","label":"Protocol-\u003EPGP"}],"ARM Case Number":"TS014234434","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
06 September 2024

UID

ibm17057110