IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
  • 1.  Exporting certificates ...

    Posted Mon January 29, 2024 07:20 AM

    Hello,

    (Busy with distributing certificates for MQ ...) 

    ... Facing an issue in the DCM export process. I have my local CA & Certificate available, and perform an export ... and the export functions fine, and I 'fIle' these cer-files in an IFS directory (getting CCSID 500). Afterwards, I download these files to my workstation ...  but on my Windows workstation, I get already the message these files are not valid. 

    Something wrong in my FTP operation ?

    Although it has to go to a MF server .... I tried an import on another IBMI server (just for vericiation), and the import is failing ... referring to CCSID problems..

    Any idea how to handle ... as I see the export creates the cer-file in IFS with CCSID 500 ..... (while looking at other older cert I see 819).

    Kind regards,

    Jos

    Jozef Thijs



    ------------------------------
    Jos (Jozef) Thijs
    Kyndryl Belgium
    ------------------------------


  • 2.  RE: Exporting certificates ...

    Posted Tue January 30, 2024 11:42 AM

    Dear Josef

    IIRC, CCSID 500 is for EBCDIC encoding used in IBM i (or mainframe) native environment which definitely is NOT one in which a digital certificate is used.  CCSID 819 may work in Windows but CCSID 1252 is better as described in this Technote :  IFS STMF CCSIDs 1252, 437, and 819 at https://www.ibm.com/support/pages/ifs-stmf-ccsids-1252-437-and-819     

    You can change an IFS file's CCSID attribute with this command :  CHGATR OBJ('/mydir/myfile.txt') ATR(*CCSID) VALUE(xxx) If 1252 or 819 does not help, try 65535.  I'm assuming you use FTP in binary mode.  



    ------------------------------
    Chance favors only the prepared mind.
    -- Louis Pasteur
    ------------------------------
    Satid S.
    ------------------------------



  • 3.  RE: Exporting certificates ...

    Posted Tue January 30, 2024 11:43 AM

    Dear Jozef

    I see that CCSID 500 is not for Windows which works with CCSID 1252 but 819 is quite close to 1252 as explained in this Technote :  IFS STMF CCSIDs 1252, 437, and 819 at  https://www.ibm.com/support/pages/ifs-stmf-ccsids-1252-437-and-819.  

    You can change IFS file's CCSID attribute with the command  CHGATR OBJ('/mydir/myfile.file') ATR(*CCSID) VALUE(xxx).  If CCSID 819 does not help. try 65535.  (I'm assuming you use FTP in binary mode.)



    ------------------------------
    Chance favors only the prepared mind.
    -- Louis Pasteur
    ------------------------------
    Satid S.
    ------------------------------