on 08-11-2022 10:23 PM
Hi everybody,
I have a java application that is using JCo to connect to SAP. We want to use X.509 certificates to authenticate, however we cannot use SAP Common Crypto Libs to do that, as where the application is hosted, we cannot generate any other files such as the .pse, cred_v2, etc. So, is it possible to use JCo with X.509 certificates without SNC? If not, is there another way to use SNC and X.509 crts?
Thanks
As of now, JCo does not evaluate the logon parameters which you specify. So you may use any logon parameter combination, and JCo itself would not complain.
It is the target system that will evaluate the logon credentials. And an ABAP system only accepts an X.509 certificate in a classic RFC logon via an SNC secured connection. This is also what the JCo JavaDoc says at interface com.sap.conn.jco.ext.DestinationDataProvider:
The logon with X.509 certificates is based on SNC and can only be used in combination with a secure network connection.
However, this is for the RFC over classic CPIC communication.
If your SAP system already has this feature, you can give it a try with using RFC over WebSockets, where connections are secured using TLS instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
11 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.