cancel
Showing results for 
Search instead for 
Did you mean: 

Calling PI keystore through server java proxy in PI 7.31 using NWDS

Former Member
0 Kudos


Hi Team,

I am  working on a requirement to enable SSL using certificates using server proxy in PI 7.31. I was stuck in the below areas.

1. how to call PI keystore in the java proxy. can you please share the code and jars for this.

2. how to test using NWDS locally using key store code.

appriciate your help

Regards,

Anil M

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Anil,

You don't say your PI version. Check these links:

http://help.sap.com/saphelp_nw70/helpdata/EN/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm

Examples for Using Digital Signatures - Integrating Security Functions - SAP Library

As you work with the java keystore, if you can install the in your java laptop the certificates, i think it would be similar than when they will be installed on PI (Import the Certificate as a Trusted Certificate (The Java™ Tutorials > Security Fea...)

Regards.

Harish
Active Contributor
0 Kudos

Hi Anil,

The Keystore is accessible from Java mapping so i assume it should work with Java proxy.

Please refer the below discussion for details

help page - Accessing the AS Java Keystore - SAP NetWeaver Process Integration - SAP Library

Java Mapping for Inserting digital signature us... | SCN

Permission error accessing keystore from Java m... | SCN

regards,

Harish

Former Member
0 Kudos

Hi Harish,

can i use below code to access PI keystore through java proxy.

how to test the code through NWDS once keys are deployed in PI keystore.

   InitialContext ctx = new InitialContext();    
      Object o = (Object) ctx.lookup("keystore");    
      KeystoreManager manager = (KeystoreManager) o;    
      KeyStore ks = manager.getKeystore("Actual name");
nitindeshpande
Active Contributor
0 Kudos

Hello Anil,

You can find the code in below thread. Please implement the same to access keystore using java -

Regards,

Nitin