<?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: Validate Keystore from mapping java UDF (SAP PI 7.4 java only) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103960#M1903422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;More data here maybe usefull,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is in this part of the method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; profile = new &lt;STRONG&gt;SsfProfileKeyStore&lt;/STRONG&gt;(keyStore, alias, null);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace.addInfo("Accessing keystore Entry");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2015 13:37:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-05-27T13:37:48Z</dc:date>
    <item>
      <title>Validate Keystore from mapping java UDF (SAP PI 7.4 java only)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103959#M1903421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Hi.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;First I try to explain the situation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;We have interfaces with AFIP (government agency in Argentina for tax, electronic invoice...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;We &lt;STRONG&gt;don't use the standard scenario&lt;/STRONG&gt; for this (that in the SAP Note 1537823 - RG2904 Argentina E-invoice Webservice for Domestic Scenario).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;We create the key certificate and all necessary step for upload the Key in SAP PI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Also we see this key and use it in the channel for this. And works ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;For a specific interface we need to create a request that contains a xml transform it to cms and this to base64...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;To do this we take the java package from the SAP Note and use the java package (wsaaClass.jar/&lt;STRONG&gt;wsaaClass.class&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;And create a class con the method we need that is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New', monospace;"&gt;public static String create_cms(String loginTicketRequestXML, String &lt;SPAN style="background: #ffff00;"&gt;keyStorageView&lt;/SPAN&gt;, String keyStorageEntry, AbstractTrace trace)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;In the program we assign the parameters (XML and put the "Key view" and the "Key entry" with the same name we use in the channel that work ok) But in runtime the message canceled with the following error&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New', monospace;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New', monospace;"&gt;Runtime exception when processing target-field mapping ........ ; root message: Exception:[java.lang.SecurityException: Error while accessing keystore Entry: java.security.KeyStoreException: No key found with alias...]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;My cuestion is about that maybe this method use and old location (for PI 7.0 or dual stack) when lookup the key...?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for the ideas and help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New', monospace;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 18:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103959#M1903421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-22T18:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Validate Keystore from mapping java UDF (SAP PI 7.4 java only)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103960#M1903422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;More data here maybe usefull,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is in this part of the method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; profile = new &lt;STRONG&gt;SsfProfileKeyStore&lt;/STRONG&gt;(keyStore, alias, null);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace.addInfo("Accessing keystore Entry");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 13:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103960#M1903422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-27T13:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Validate Keystore from mapping java UDF (SAP PI 7.4 java only)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103961#M1903423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martím,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you resolved the issue? I have the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 20:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103961#M1903423</guid>
      <dc:creator>cervantes_nicols</dc:creator>
      <dc:date>2016-06-19T20:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Validate Keystore from mapping java UDF (SAP PI 7.4 java only)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103962#M1903424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Finally, the&lt;/SPAN&gt; interface is not completed development in productive enviroment. It is standby. &lt;SPAN&gt;But the issue&lt;/SPAN&gt; &lt;SPAN&gt;of the certificate&lt;/SPAN&gt; in principle had been resolved. One of the things we did was &lt;SPAN&gt;to register&lt;/SPAN&gt; the certificate &lt;SPAN&gt;in the "&lt;/SPAN&gt;TrustedCAs" view.&lt;BR /&gt;&lt;SPAN&gt;I hope it helps you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 17:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103962#M1903424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-06-21T17:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Validate Keystore from mapping java UDF (SAP PI 7.4 java only)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103963#M1903425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue was solved. We added a role "Key Store" in Guess user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 21:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-keystore-from-mapping-java-udf-sap-pi-7-4-java-only/m-p/11103963#M1903425</guid>
      <dc:creator>cervantes_nicols</dc:creator>
      <dc:date>2016-06-21T21:01:22Z</dc:date>
    </item>
  </channel>
</rss>

