on 08-03-2016 7:33 AM
Hello,
Already gone through few post on SCN but didn't help as such.
I am using SFTP adapter with authentication method as 'Private Key'. Certificate has been imported and using the same....
But i am getting below error while testing the scenario...
Exception caught by adapter framework: java.security.KeyStoreException: KeyStoreManagerImplSystemLevel in Method: getISsfProfile( KeyStore, String, String ). A KeyStoreException encountered: A KeyStore-Exception in Method: run(). Message: KeyStoreException in Method: getPrivateKey( KeyStore, String, String ). The requested keystore type is not available in the default provider package or any of the other provider packages that were searched.. To-String: java.security.KeyStoreException: KeyStoreException in Method: getPrivateKey( KeyStore, String, String ). The requested keystore type is not available in the default provider package or any of the other provider packages that were searched.. To-String: java.security.KeyStoreException: A KeyStore-Exception in Method: run(). Message: KeyStoreException in Method: getPrivateKey( KeyStore, String, String ). The requested keystore type is not available in the default provider package or any of the other provider packages that were searched.. To-String: java.security.KeyStoreException: KeyStoreException in Method: getPrivateKey( KeyStore, String, String ). The requested keystore type is not available in the default provider package or any of the other provider packages that were searched.
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: java.security.KeyStoreException: KeyStoreManagerImplSystemLevel in Method: getISsfProfile( KeyStore, String, String ). A KeyStoreException encountered: A KeyStore-Exception in Method: run(). Message: KeyStoreException in Method: getPrivateKey( KeyStore, String, String ). The requested keystore type is not available in the default provider package or any of the other provider packages that were searched.. To-String: java.security.KeyStoreException: KeyStoreException in Method: getPrivateKey( KeyStore, String, String ). The requested keystore type is not available in the default provider package or any of the other provider packages that were searched.. To-String: java.security.KeyStoreException: A KeyStore-Exception in Method: run(). Message: KeyStoreException in Method: getPrivateKey( KeyStore, String, String ). The requested keystore type is not available in the default provider package or any of the other provider packages that were searched.. To-String: java.security.KeyStoreException: KeyStoreException in Method: getPrivateKey( KeyStore, String, String ). The requested keystore type is not available in the default provider package or any of the other provider packages that were searched.
Not able to understand what exactly went wrong, can anyone please help regarding the above error! Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all for your kind help.
Sorry for delayed response.
In my case Basis guy had imported the wrong certificates, problem has been resolved after proper certificate import.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello all,
Thanks for your time and given suggestions.
I will check all of the above mentioned points and will get back to you guys.Thanks!
Regards,
Aksahy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Akshay,
you have to ensure the keystore entry for this scenario is maintained. The error is pointing towards a missing keystore type. Please see the below two help articles for further information:
Managing Entries - http://help.sap.com/saphelp_nw74/helpdata/en/24/cff73dbc570302e10000000a114084/content.htm
Creating a Key Pair and Public-Key Certificate - http://help.sap.com/saphelp_nw74/helpdata/en/36/7627aa3fe440369150a434f8137eda/content.htm
Best regards,
Vadym
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akshay,
The problem is in your SSL key.
First check whether Private and public key both are in keystore or not. If its there then check in your CC that you have used exact name of your keystore view and keystore entry.
Public key is shared with SFTP vendor after converting this to SSH.
Lastly you can try with XPI Inspector to get more details on this.
Thanks,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akshay,
I think the key of the issue is in this part of your exception: "The requested keystore type is not available in the default provider package or any of the other provider packages that were searched."
There a different types of keystores (Different types of keystore in Java -- Overview | Pixelstech.net) which support different algorithms.Are you sure the certificate is supported by PI keystorage: (X.509, PKCS#12 Key Pair, PKCS#8 Key Pair). Are you selected the right one?.
Have you checked your Private Key View, Private Key Entry right (Configuring the SFTP Sender Channel - SAP NetWeaver Process Integration, secure connectivity add-on ...)?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply Iñaki !!
We have received a .PPK file from client and basis team have imported the same as per the process mentioned in the below link.
Generating SSH Keys for SFTP Adapters - Type 1 - Process Integration - SCN Wiki
And then after that i have imported the same in SFTP channel as 'Private key view' & 'Private Key Entry'.
Please suggest if in case i have missed something.
Regards,
Akshay
Hi Akshay,
Please check if the below SAP note is applicable for your version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.