A fix is available
APAR status
Closed as program error.
Error description
being in /etc/security/certificates and running : /tmp/trustchk/trustchk -s privkey.der -v cert.der -a <library> will output error : trustchk: Hash value calculation failed trustchk: Error adding stanza: /usr/lib/libtli.a
Local fix
The problem only occurs when user is in /etc/security/certificates and provide relative paths to certificate or privkey. The user can fix this by giving fullpath I.E: /tmp/trustchk/trustchk -s /etc/security/certificates/ privkey.der -v /etc/security/certificates/ cert.der -a <library>
Problem summary
trustchk command might fail to add library to trustchk database when the relative path of file(privkey.der,cert.der) is provided. # /usr/sbin/trustchk -s privkey.der -v cert.der -a /usr/lib/libtli.a trustchk: Hash value calculation failed trustchk: Error adding stanza: /usr/lib/libtli.a
Problem conclusion
trustchk has been modified to handle the relative path files while adding library to trustchk database.
Temporary fix
Comments
6100-07 - use AIX APAR IV58229 6100-08 - use AIX APAR IV48378 6100-09 - use AIX APAR IV50103 6100-09 - use AIX APAR IV50103 6100-09 - use AIX APAR IV50103 7100-01 - use AIX APAR IV57502 7100-02 - use AIX APAR IV56951 7100-03 - use AIX APAR IV50094
APAR Information
APAR number
IV50094
Reported component name
AIX V7.1
Reported component ID
5765H4000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2013-09-27
Closed date
2013-09-27
Last modified date
2014-08-14
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
U866392
Fix information
Fixed component name
AIX V7.1
Fixed component ID
5765H4000
Applicable component levels
R710 PSY U866392
UP14/05/22 I 1000
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
14 August 2014