<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SNC using JCO API in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/snc-using-jco-api/m-p/3305694#M791629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. obviously, the JCO connection (using RFC) is not SNC-protected; otherwise you'd not receive that error information&lt;/P&gt;&lt;P&gt;2. I'm not sure whether you are using the right approach: forwarding a X.509 client certificate via SNC-protected RFC connnection is only intended to work for a small number of trusted middleware components (such as the ITS Agate or a NWAS Java). It is assumed that this middleware component (or a component in front of it, such as a webserver in front of the ITS) is performing a proper SSL handshake in order to validate the X.509 client certificate.&lt;/P&gt;&lt;P&gt;3. Instead of jco.client.user = "$X509CERT$" and jco.client.passwd = ... you should use jco.client.x509cert = ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Java-based applets running on a user's PC should act as SSL client and submit their https requests directly to the NWAS ABAP (which is the SSL server in that case). It does not make sense to use JCO and SNC to forward externally validated X.509 client certificates - not just because it's much more complex (and increasing the TCO) but also because it's not intended to be used in that way (it simply does not scale).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Wolfgang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: the error is most likely caused because of the missing SNCSYSACL entry (see trace, using note 495911)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Wolfgang Janzen on Jan 22, 2008 10:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2008 09:23:09 GMT</pubDate>
    <dc:creator>Wolfgang_Janzen</dc:creator>
    <dc:date>2008-01-22T09:23:09Z</dc:date>
    <item>
      <title>SNC using JCO API</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/snc-using-jco-api/m-p/3305693#M791628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to connect to a SAP Server (having SNC enabled) using JCO&lt;/P&gt;&lt;P&gt;API. I am using a simple java program. I mentioned the following&lt;/P&gt;&lt;P&gt;parameters&lt;/P&gt;&lt;P&gt;jco.client.snc_mode=1&lt;/P&gt;&lt;P&gt;jco.client.snc_partnername=p:CN=IDS, OU=IT, O=CSW, C=DE&lt;/P&gt;&lt;P&gt;jco.client.snc_qop=1&lt;/P&gt;&lt;P&gt;jco.client.snc_myname=p:CN=RFC, OU=IT, O=CSW, C=DE&lt;/P&gt;&lt;P&gt;jco.client.snc_lib=C:/usr/sap/UC6/SYS/exe/uc/NTAMD64/sapcrypto.dll&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have placed the sapcrypto.dll in the Path. I have generated the&lt;/P&gt;&lt;P&gt;Client PSE and Cred_V2 files too. I have placed them in the Path too.&lt;/P&gt;&lt;P&gt;I am using the "$X509CERT$" as user and sending the x509 certificate&lt;/P&gt;&lt;P&gt;information as password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get the following error&lt;/P&gt;&lt;P&gt;(103) RFC_ERROR_LOGON_FAILURE: SNC required for this connection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I look at the error files dev_w0 (in the work folder) I see the&lt;/P&gt;&lt;P&gt;following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;ERROR =&amp;gt; iSignSncServerLogin: insecure transmission of X.509 client&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;certificate (SNC required) [sign.c 8638]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciate as this is a mjor blocker for our release&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 12:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/snc-using-jco-api/m-p/3305693#M791628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T12:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: SNC using JCO API</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/snc-using-jco-api/m-p/3305694#M791629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. obviously, the JCO connection (using RFC) is not SNC-protected; otherwise you'd not receive that error information&lt;/P&gt;&lt;P&gt;2. I'm not sure whether you are using the right approach: forwarding a X.509 client certificate via SNC-protected RFC connnection is only intended to work for a small number of trusted middleware components (such as the ITS Agate or a NWAS Java). It is assumed that this middleware component (or a component in front of it, such as a webserver in front of the ITS) is performing a proper SSL handshake in order to validate the X.509 client certificate.&lt;/P&gt;&lt;P&gt;3. Instead of jco.client.user = "$X509CERT$" and jco.client.passwd = ... you should use jco.client.x509cert = ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Java-based applets running on a user's PC should act as SSL client and submit their https requests directly to the NWAS ABAP (which is the SSL server in that case). It does not make sense to use JCO and SNC to forward externally validated X.509 client certificates - not just because it's much more complex (and increasing the TCO) but also because it's not intended to be used in that way (it simply does not scale).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Wolfgang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: the error is most likely caused because of the missing SNCSYSACL entry (see trace, using note 495911)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Wolfgang Janzen on Jan 22, 2008 10:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2008 09:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/snc-using-jco-api/m-p/3305694#M791629</guid>
      <dc:creator>Wolfgang_Janzen</dc:creator>
      <dc:date>2008-01-22T09:23:09Z</dc:date>
    </item>
  </channel>
</rss>

