IBM Support

IT30545: MQ .NET managed client application returns 2059 when setting certlabel in hashtable properties

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • <p><span style="color:rgb(0, 0,
    0);font-size:10pt;font-family:arial">Using .Net managed
    application when setting certificateLabel using MQEnvironment,
    the connection to queue manager is successful.
    However, when setting the certificateLabel using a hashtable
    passed to the MQQueueManager constructor, the connection fails
    and application returns with 2059 error</span></p>
    

Local fix

  • As workaround, use MQEnvironment.CertificateLabel properties to
    set label of the certificate to be used by the application.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users using MQ managed .Net application with TLS channel and
    setting <span style="font-size:12px">the certificatelabel using
    hashtable property</span>
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    A logic error in the MQ .NET classes meant that the certificate
    label was not retrieved from the hashtable of properties passed
    to the MQQueueManager constructor.
    

Problem conclusion

  • MQ .NET client code has been corrected to use the certificate
    label from the properties hashtable if present.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.1 LTS   9.1.0.7
    v9.2 LTS   9.2.0.2
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30545

  • Reported component name

    IBM MQ BASE M/P

  • Reported component ID

    5724H7261

  • Reported release

    905

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-10-09

  • Closed date

    2020-10-15

  • Last modified date

    2020-10-15

  • 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

    IBM MQ BASE M/P

  • Fixed component ID

    5724H7261

Applicable component levels

  • R905 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
21 November 2021