IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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":"Sterling B2B Integrator"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.4","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 September 2023