<?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: ID21108:java.lang.security EXception, Unsupported Key Size in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846351#M359006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the certificate, it looks okey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the other reason?. In development we  havent get this error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have applied strong encryption to J2EE engine (IAIK_jce.jar)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me  to solve this problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2007 18:19:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-05T18:19:18Z</dc:date>
    <item>
      <title>ID21108:java.lang.security EXception, Unsupported Key Size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846345#M359000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have ABAP instace and java instance on the same server. Installed SSL certificate in ABAP instance and we would like use the same key pair for JAVA instance. done the same thing in development without any problem. In QA environment we have stuck up with below error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ID 21108:java.lang.securityException, Unsupported key size or Algorithm parameters.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;followed below procedure for exporting from ABAP stack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sapgenpse export_p12 -p SAPSSL.PSE f:\mynewpse.p12, it prompted for the passord two times and successfully exported. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while importing in j2EE engine by Keystore service, ssl_service--&amp;gt; clicked on load and selected the exported certifcate which is in p12 format, prompting the above stated error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to read the exported certficate by using the below command&lt;/P&gt;&lt;P&gt;:\usr\sap\CPQ\SYS\exe\run&amp;gt;sapgenpse get_my_name -p f:\mynewpse.p12&lt;/P&gt;&lt;P&gt;its prompting below error&lt;/P&gt;&lt;P&gt;get_my_name: Couldn't open PSE "f:\mynewpse.p12"&lt;/P&gt;&lt;P&gt;ERROR in af_open: (4356/0x1104) PSEFile&lt;/P&gt;&lt;P&gt;ERROR in secsw_open: (4356/0x1104) PSEFile&lt;/P&gt;&lt;P&gt;ERROR in sec_parse_PSEInfo_cont: (4356/0x1104) PSEFile&lt;/P&gt;&lt;P&gt;ERROR in d_PSEFile: (18/0x0012) decoding error for : "PSEFile"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to solve this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2007 09:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846345#M359000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-03T09:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: ID21108:java.lang.security EXception, Unsupported Key Size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846346#M359001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seshu,&lt;/P&gt;&lt;P&gt;which is the key size u are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally with java the keysize limit depends on the settings defined in the archive local_policy.jar.&lt;/P&gt;&lt;P&gt;You can get more detailed information on this at java.sun.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this hint helps you!&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2007 13:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846346#M359001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-03T13:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: ID21108:java.lang.security EXception, Unsupported Key Size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846347#M359002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if you can explain me that how to see the settings which are defined for the local_policy.jar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I successfully exported the PSE, but i am facing the problem while importing into J2EE engine, below the are the details of exported PSE from ABAP stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K:\usr\sap\CPQ\SYS\exe\run&amp;gt;sapgenpse get_my_name -p K:\usr\sap\CPQ\DVEBMGS00\sec&lt;/P&gt;&lt;P&gt;\SAPSSLS.pse&lt;/P&gt;&lt;P&gt;No SSO for USER "Infosys"&lt;/P&gt;&lt;P&gt;  with PSE file "K:\usr\sap\CPQ\DVEBMGS00\sec\SAPSSLS.pse"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subject : CN=esp22.corp.clp.com.hk, OU="Member, VeriSign Trust Network", OU=Auth&lt;/P&gt;&lt;P&gt;enticated by HiTRUST HK, OU=Terms of use at &lt;A href="https://community.sap.com/www.hitrust.com.hk/rpa" target="test_blank"&gt;www.hitrust.com.hk/rpa&lt;/A&gt; (c) 04, OU=IT&lt;/P&gt;&lt;P&gt; Group, O=CLP Power Hong Kong Limited, L=Hong Kong, SP=Hong Kong, C=HK&lt;/P&gt;&lt;P&gt;Issuer  : OU=www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.(c)97 VeriSign, O&lt;/P&gt;&lt;P&gt;U=VeriSign International Server CA - Class 3, OU="VeriSign, Inc.", O=VeriSign Tr&lt;/P&gt;&lt;P&gt;ust Network&lt;/P&gt;&lt;P&gt;Serialno: 56:7B:85:E4:5E:9A:C9:76:D7:8F:33:E6:81:10:14:F7&lt;/P&gt;&lt;P&gt;KeyInfo : RSA, 1024-bit&lt;/P&gt;&lt;P&gt;Validity  -  NotBefore:   Mon Jan 22 08:00:00 2007 (070122000000Z)&lt;/P&gt;&lt;P&gt;              NotAfter:   Wed Jan 23 07:59:59 2008 (080122235959Z)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key Lenth is 1024-bit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to solve this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 05:48:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846347#M359002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-04T05:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: ID21108:java.lang.security EXception, Unsupported Key Size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846348#M359003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when trying to import the certificate (plus corresponding private key) into the keystore on the NWAS Java did you choose the proper import method (for PKCS#12 format)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm asking because at least for the NWAS ABAP (when using sapgenpse) you seem not to be aware that the (proprietary) PSE file format is entirely different from the (standardized) PKCS#12 format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Wolfgang&lt;/P&gt;&lt;P&gt;PS: RSA certificates with key size 1024 should not be a problem for both stacks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 09:30:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846348#M359003</guid>
      <dc:creator>Wolfgang_Janzen</dc:creator>
      <dc:date>2007-02-05T09:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: ID21108:java.lang.security EXception, Unsupported Key Size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846349#M359004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wolfgang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!. I am waiting for your response only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Development we have followed the same procedure only, we havent face this error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have folowed the below command for export from ABAP stack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sapgenpse export_p12 -p SAPSSLS.pse mynewpse.p12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest me some thing to solve this problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 09:40:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846349#M359004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T09:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: ID21108:java.lang.security EXception, Unsupported Key Size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846350#M359005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That looks o.k. (PSE -&amp;gt; PKCS#12).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can actually analyse the result (PKCS#12 file) using your Microsoft Operating System: simply open that file -&amp;gt; "Certificate Import Wizard" will be launched. That allows you to import that certificate to the (local) Microsoft keystore of your PC (where you can display and delete it afterwards using the IE -&amp;gt; Tools -&amp;gt; Internet Options -&amp;gt; Content -&amp;gt; Certificates).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that you are using the "export version" of the IAIK toolkit on the NWAS Java? (similiar to SAPSECULIB on the NWAS ABAP: that's the "export version" of the SAPCRYPTOLIB - due to export control regulations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 13:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846350#M359005</guid>
      <dc:creator>Wolfgang_Janzen</dc:creator>
      <dc:date>2007-02-05T13:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: ID21108:java.lang.security EXception, Unsupported Key Size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846351#M359006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the certificate, it looks okey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the other reason?. In development we  havent get this error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have applied strong encryption to J2EE engine (IAIK_jce.jar)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me  to solve this problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 18:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846351#M359006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T18:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: ID21108:java.lang.security EXception, Unsupported Key Size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846352#M359007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Hint helped to some extent to solve this problem. This issue has been resolved by applying the note 739043. We have limited/strong crypto policy files in &lt;/P&gt;&lt;P&gt;local_policy.jar. So we down loaded unlimited/strong crypto policy files from java.sun.com and replaced the existing policy files. Exported SSL certificate from ABAP satck and imported to java stack with out any problem.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To know the present policy files in your present server (i.e to read the content in the META-INF/MAINFEST.MF  file ) &amp;lt;b&amp;gt;zip&amp;lt;/b&amp;gt; the local_policy.jar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We understand that limited crypto policy files can't support all RSA keysize. In development we used DSA so we did't face this problem in DEV. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 12:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/id21108-java-lang-security-exception-unsupported-key-size/m-p/1846352#M359007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T12:58:13Z</dc:date>
    </item>
  </channel>
</rss>

