Topic
  • 3 replies
  • Latest Post - ‏2012-09-18T07:17:26Z by EMANCHAN
KishoreE
KishoreE
1 Post

Pinned topic RSA premaster secret error in Big Machines in Appliance

‏2012-06-06T12:47:45Z |
Hi,
we are integrating the BM to SAP using Cast Iron, when we are invoking the cast iron in the local system i recieved the error as RSA premaster secret error.
then i replaced some security files in the IBM folder then it works fine.

When i delployed it in the appliance i am getting the same error But i dont know what to do?

Please Help us. Its very Urgent for our Project.
Updated on 2012-09-18T07:17:26Z at 2012-09-18T07:17:26Z by EMANCHAN
  • JohnCroson
    JohnCroson
    3 Posts

    Re: RSA premaster secret error in Big Machines in Appliance

    ‏2012-06-11T18:45:55Z  
    I just opened a ticket with IBM about this. This is due to the new CastIron (6.x I think) and it's RSA encryption library not being able to handle the level that BigMachines requires.

    I recall seeing an IBM bulletin about this, but can't find it for the life of me right now.

    I don't have this issue with Studio v5.0.1.5 but do with Studio v6.1.0.6.

    The fix for Studio would seem to be a patch, but my guess is that the fix for your appliance will need to be handled by them, since it's unlikely you'll get root access... ;)
  • JohnCroson
    JohnCroson
    3 Posts

    Re: RSA premaster secret error in Big Machines in Appliance

    ‏2012-06-11T20:28:05Z  
    I just opened a ticket with IBM about this. This is due to the new CastIron (6.x I think) and it's RSA encryption library not being able to handle the level that BigMachines requires.

    I recall seeing an IBM bulletin about this, but can't find it for the life of me right now.

    I don't have this issue with Studio v5.0.1.5 but do with Studio v6.1.0.6.

    The fix for Studio would seem to be a patch, but my guess is that the fix for your appliance will need to be handled by them, since it's unlikely you'll get root access... ;)
    Problem(Abstract) :
    While invoking the BigMachines Web Service using the Invoke Service
    activity, you receive an error beginning with "RSA premaster secret.. "

    Symptom
    Cannot invoke the BigMachines web service using WebSphere Cast Iron
    software.

    Cause
    The security policy file controls types of encryption allowed for Web
    Service invocation. The security policy files used in IBM jre only
    support keys up to a length of 2048 for RSA encryption and the
    BigMachines key length is 4096.

    Environment
    Appliance and Studio 'Verify'

    Diagnosing the problem
    When trying to invoke the Web Service, you receive the error:RSA
    premaster secret.

    Resolving the problem
    Replace the Security policy files with the IBM unlimited Cryptography
    files.

    Following are the steps:
    1. Download the jar file from this site:
    https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=jce
    sdk&lang=en_US&S_PKG=142ww&cp=UTF-8
    2. On WebSphere Cast Iron Studio, replace the file, local_policy.jar in
    C:\Program Files\IBM\WebSphere Cast Iron Studio 6.0\jre\lib\security
    directly with the jar downloaded in the step 1.
    3. Test if this runs successfully and the issue is resolved.
    4. On the appliance: To replace this file on the appliance, schedule a
    session with support.
  • EMANCHAN
    EMANCHAN
    1 Post

    Re: RSA premaster secret error in Big Machines in Appliance

    ‏2012-09-18T07:17:26Z  
    Problem(Abstract) :
    While invoking the BigMachines Web Service using the Invoke Service
    activity, you receive an error beginning with "RSA premaster secret.. "

    Symptom
    Cannot invoke the BigMachines web service using WebSphere Cast Iron
    software.

    Cause
    The security policy file controls types of encryption allowed for Web
    Service invocation. The security policy files used in IBM jre only
    support keys up to a length of 2048 for RSA encryption and the
    BigMachines key length is 4096.

    Environment
    Appliance and Studio 'Verify'

    Diagnosing the problem
    When trying to invoke the Web Service, you receive the error:RSA
    premaster secret.

    Resolving the problem
    Replace the Security policy files with the IBM unlimited Cryptography
    files.

    Following are the steps:
    1. Download the jar file from this site:
    https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=jce
    sdk&lang=en_US&S_PKG=142ww&cp=UTF-8
    2. On WebSphere Cast Iron Studio, replace the file, local_policy.jar in
    C:\Program Files\IBM\WebSphere Cast Iron Studio 6.0\jre\lib\security
    directly with the jar downloaded in the step 1.
    3. Test if this runs successfully and the issue is resolved.
    4. On the appliance: To replace this file on the appliance, schedule a
    session with support.
    hi,

    the link seems no longer valid
    https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=jcesdk&lang=en_US&S_PKG=142ww&cp=UTF-8