IBM Support

IT23761: SC_SETUP SCRIPT ACCEPTS RANDOM PASSWORDS AND THEN IBM STERLING B2B INTEGRATOR FAILS TO START

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Sc_setup script accepts random passwords and then
    IBM Sterling B2B Integrator fails to start:
    
    2017-08-07 09:08:09.584] ERROR 000000000000 GLOBAL_SCOPE
    [SystemCertificateInfo] Exception decrypting paraphrase
    javax.crypto.BadPaddingException: Given final block not
    properly padded
        at
    com.ibm.crypto.provider.DESedeCipher.engineDoFinal(Unknown
    Source)
        at
    com.ibm.crypto.provider.DESedeCipher.engineDoFinal(Unknown
    Source)
        at javax.crypto.Cipher.doFinal(Unknown Source)
        at
    com.sterlingcommerce.security.control.SCISymmetricCipher.doFinal
    (SCISymmetricCipher.java:702)
        at
    com.sterlingcommerce.security.provider.SCIPBEWrapper.decrypt(SCI
    PBEWrapper.java:204)
        at
    com.sterlingcommerce.security.kcapi.PrivateKeyInfo.decryptPassph
    rase(PrivateKeyInfo.java:5502)
        at
    com.sterlingcommerce.security.kcapi.PrivateKeyInfo.getPrivateKey
    (PrivateKeyInfo.java:1770)
        at
    com.sterlingcommerce.security.util.SecurityUtil.createSignature(
    SecurityUtil.java:427)
        at
    com.sterlingcommerce.woodstock.util.CommonUtil.createSignature(C
    ommonUtil.java:273)
        at
    com.sterlingcommerce.woodstock.ops.server.PassPhraseThread.signO
    psCmd(PassPhraseThread.java:342)
        at
    com.sterlingcommerce.woodstock.ops.server.PassPhraseThread.run(P
    assPhraseThread.java:223)
        at java.lang.Thread.run(Thread.java:761)
    [2017-08-07 09:08:09.584] ERROR Exception getting Private Key
    [2017-08-07 09:08:09.584] ERROR [1502064489584] Passphrase is
    not set. mac didn't verify it.
    [2017-08-07 09:08:09.585] ERRORDTL
    [1502064489584]java.io.IOException: Passphrase is not set. mac
    didn't verify it.
        at
    com.sterlingcommerce.security.keystoreprovider.SCIKeyStore.engin
    eLoad(SCIKeyStore.java:124)
        at java.security.KeyStore.load(KeyStore.java:415)
        at
    com.sterlingcommerce.security.kcapi.PrivateKeyInfo.getPrivateKey
    (PrivateKeyInfo.java:1777)
        at
    com.sterlingcommerce.security.util.SecurityUtil.createSignature(
    SecurityUtil.java:427)
        at
    com.sterlingcommerce.woodstock.util.CommonUtil.createSignature(C
    ommonUtil.java:273)
        at
    com.sterlingcommerce.woodstock.ops.server.PassPhraseThread.signO
    psCmd(PassPhraseThread.java:342)
        at
    com.sterlingcommerce.woodstock.ops.server.PassPhraseThread.run(P
    assPhraseThread.java:223)
        at java.lang.Thread.run(Thread.java:761)
    

Local fix

  • RTC - 553585
    

Problem summary

  • Users Affected:
    All
    
    Problem Description:
    The sc_setup script runs successfully with wrong
    password given while running ./sc_setup.sh and corrupts the
    system's default certificates.
    
    
    Platforms Affected:
    All
    

Problem conclusion

  • Resolution Summary:
    
    A code fix is provided.
    
    
    DELIVERED IN:
    5020603_6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT23761

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    524

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-01-17

  • Closed date

    2018-07-12

  • Last modified date

    2018-07-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.4","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
13 July 2018