<?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: sapcrypto errors after system copy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687568#M1576593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look in STRUST which certificate is red. Try export the certificate from prod and import into test (but this will depend on the encryption keys to be able to decrypt... so just verifying the certs is not enough for the data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Tokenization" is IMO a more central way of solving this credit card issue - so you do not even have the pestilent data &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Feb 24, 2011 11:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Feb 2011 22:36:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-24T22:36:23Z</dc:date>
    <item>
      <title>sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687567#M1576592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;I have just taken a (homogenous) system copy of our production system, and refreshed our test system.&lt;/P&gt;&lt;P&gt;Platform is oracle and suse linux on IBM Power, ERP 6.0, SR2.&lt;/P&gt;&lt;P&gt;On our production system we have configured credit card encryption, which is working well.&lt;/P&gt;&lt;P&gt;After the copy this is not working.&lt;/P&gt;&lt;P&gt;Test program CCARDEC_CHECK gives :&lt;/P&gt;&lt;P&gt;Encryption failed&lt;/P&gt;&lt;P&gt;Decryption failed&lt;/P&gt;&lt;P&gt;Process Encryption/Decryption failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have cleaned up any errors in strust, so all components now show green status.&lt;/P&gt;&lt;P&gt;Followed by restart in /smicm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test program ZSSF_TEST_PSE for filename SAPCCARD030.pse shows:&lt;/P&gt;&lt;P&gt;Test encryption : Encryption ERROR - SSF error: Unknown error in external security product&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System log shows :&lt;/P&gt;&lt;P&gt;Time     Type Nr  Clt User    TCode Grp N Text&lt;/P&gt;&lt;P&gt;20:16:20 DIA  000 030 EIRIKUR SE38  RD  3 SSF_KRN_ENVELOPE: Function Returned 13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest what I might be missing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can supply further information to isolate the problem, please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, Eirikur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 21:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687567#M1576592</guid>
      <dc:creator>esi</dc:creator>
      <dc:date>2011-02-24T21:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687568#M1576593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look in STRUST which certificate is red. Try export the certificate from prod and import into test (but this will depend on the encryption keys to be able to decrypt... so just verifying the certs is not enough for the data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Tokenization" is IMO a more central way of solving this credit card issue - so you do not even have the pestilent data &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Feb 24, 2011 11:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 22:36:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687568#M1576593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-24T22:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687569#M1576594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Julius,&lt;/P&gt;&lt;P&gt;thank you for the reply.&lt;/P&gt;&lt;P&gt;I dont have any red status in strust, as mentioned already in my post.&lt;/P&gt;&lt;P&gt;Does Tokenization refer to some form of implementation that you can recommend and share documentation about ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Eirikur Ingibergsson on Feb 24, 2011 11:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 22:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687569#M1576594</guid>
      <dc:creator>esi</dc:creator>
      <dc:date>2011-02-24T22:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687570#M1576595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just edited my post before you had questioned this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How was the data encrypted? That is independent from STRUST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally I like the tokenization design more. You can search for it and find lots of docs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your ssf cert was created for prod server, then you cannot decrypt it for a QAS server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Common cert DNs or "standard" certs would have been an option, but it seems that these were not intended. This might also be intentional so check on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 22:49:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687570#M1576595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-24T22:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687571#M1576596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working now.&lt;/P&gt;&lt;P&gt;the solution was to recreate the strust pse for cc encryption with RSA encryption instead of the default DSA.&lt;/P&gt;&lt;P&gt;Rgds, Eirikur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 23:13:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687571#M1576596</guid>
      <dc:creator>esi</dc:creator>
      <dc:date>2011-02-24T23:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687572#M1576597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm... &amp;lt;note to self&amp;gt; &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 00:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687572#M1576597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-25T00:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687573#M1576598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Personally I like the tokenization design more. You can search for it and find lots of docs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree but I haven't noticed any solution from SAP. Have you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 01:02:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687573#M1576598</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2011-02-25T01:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687574#M1576599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution from SAP is support and compatibility with available tokenization providers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good article on it from SAP can be found [here|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0f44a4b-cefa-2d10-5584-bb53ff2662ab?quicklink=index&amp;amp;overridelayout=true] and searching will eventually lead you to paymetric (see the EcoHub on SDN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also some flamewar blogs about decryption and Idocs... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 11:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687574#M1576599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-25T11:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687575#M1576600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eirikur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the same proble after system copy from PRD to test system.  Can you please give me the detail steps how did you fix it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lily&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2011 23:56:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687575#M1576600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-11T23:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687576#M1576601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 20:24:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687576#M1576601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T20:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687577#M1576602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 20:54:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687577#M1576602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T20:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687578#M1576603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to complete the documentation of the solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In transaction /strust there is an entry u201ESSF Encryption of Payment Cardu201C&lt;/P&gt;&lt;P&gt;I recreated this entry (right click -&amp;gt; replace -&amp;gt; confirm with yes )&lt;/P&gt;&lt;P&gt;In the u201Ereplace PSEu201C dialog screen the default algorith was DSA, which I needed to change to RSA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, Eirikur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 15:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687578#M1576603</guid>
      <dc:creator>esi</dc:creator>
      <dc:date>2011-06-20T15:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687579#M1576604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the solution. It works for me. Same error message - 13 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N&amp;nbsp; OUT SsfEnvelope() result/CRC: 13 (SSF_API_UNKNOWN_SECTK_ERROR)&lt;/P&gt;&lt;P&gt;N&amp;nbsp; SecTK Lasterror 1542 "pkcs_get_encryptedKey failed"&lt;/P&gt;&lt;P&gt;N&amp;nbsp; ---------- Begin SecTK Lasterror Details ----------&lt;/P&gt;&lt;P&gt;N&amp;nbsp; ERROR in pkcs_envelope_ContentInfo: (1542/0x0606) pkcs_get_encryptedKey failed &lt;/P&gt;&lt;P&gt;N&amp;nbsp; ERROR in pkcs_get_encryptedKey: (1542/0x0606) sec_encrypt_key failed &lt;/P&gt;&lt;P&gt;N&amp;nbsp; ERROR in sec_encrypt_key: (1542/0x0606) invalid or unknown alg_id &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After regenerating of pse with RSA it works without problems. The reason behind is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think DSA is only for Signatures valid - and RSA is able to sign and crypt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Matthias &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2012 19:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687579#M1576604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-21T19:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: sapcrypto errors after system copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687580#M1576605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per this note - 662340 , &lt;/P&gt;&lt;P&gt; SAPSECULIB - library can be used for digital signatures created by the SAP system, but not for encrypting data. To have the system encrypt data, you must replace the SAPSECULIB with the SAP Cryptographic Library (SAPCRYPTOLIB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 04:11:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapcrypto-errors-after-system-copy/m-p/7687580#M1576605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-22T04:11:48Z</dc:date>
    </item>
  </channel>
</rss>

