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.
------------------------------
Original Message:
Sent: Mon January 29, 2024 07:19 AM
From: Jozef Thijs
Subject: Exporting certificates ...
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
------------------------------