2

Unable to replace(import) a certificate(.pfx file)... - SAP Community

 7 months ago
source link: https://community.sap.com/t5/technology-q-a/unable-to-replace-import-a-certificate-pfx-file-in-sap-pi-nwa-via-pkcs-12/qaq-p/13593999
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Unable to replace(import) a certificate(.pfx file) in SAP PI NWA via PKCS#12 Key Pair menu

Sankar

Newcomer

yesterday

Hi Experts,

We are trying to replace the certificate that got expired in our non-production environment for an urgent testing of a critical change and doing the import (.pfx file) through “Import Entry” option in SAP PI NWA.

Path: NWA -> Configuration -> Certificates and Keys -> Key Storage
Key Storage View: TrustedCAs

And then follow the way as below:

View Entries -> Import Entry
Select entry type: PKCS#12 Key Pair

We have a .pfx file and a password available to enter and do the import thereafter.

Once we do the import, we are getting below error:

Sankar_0-1707080868173.png

ERROR:  -> ID21108: [Liaik.asn1.ASN1Object; (loaded by com.sap.engine.boot.loader.ResourceMultiParentClassLoader@0x00000007f0069ed8) cannot be cast to [B

Note: None of our other non-production systems were able to import the certificate. We tried to revert the kernel version from 1200 to 1117 (as recommended in the post Solved: Import P12 keypair in java instance fails - SAP Community), but still, it didn't work.

Any help to resolve this issue would be highly appreciated (since the interface is very critical which is related to bank file) as the production certificate expiry is nearing and needs to be replaced soon (within next 7 days).

Thank you.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK