Txpi 308: TxpiInitSSL Failed msg =<error:0200100D:system library:fopen:Permission denied> value = 0.

Document ID : KB000054790
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Non-SSL transfers are successful. SSL transfers fail with the following messages:

Fatal TCP/IP communications error occurred in program XCOMR during state SEND ALLOCATE. Check second level text for more information.

Message . . . . : Fatal TCP/IP communications error occurred in program XCOMR during state SEND ALLOCATE. Check second level text for more information.

The error occurred while attempting to perform function ALLOCATE. Return code information is:

Primary return code              0 TCP/IP call successful
   
Secondary return code            0.
   
TCP/IP primary return code     308.
TCP/IP secondary return code     0.
     
TCP/IP message Txpi  308: TxpiInitSSL Failed msg =<error:0200100D:system library:fopen:Permission denied> value = 0.

Solution:

This OpenSSL error message indicates that permissions are set incorrectly on the .pem file. Change the authority on the .pem file with this command:
CHGAUT OBJ('/QOpenSys/CAProduct/ConfigFile/CAXCOM/ssl/certs/cassl.pem')
USER(*PUBLIC) DTAAUT(*RX) OBJAUT(*ALL)