The IBM i DCM produces certificate requests in PEM format.
DCM can export EBCDIC encoded PEM files. Check the coded character set ID of the file before transferring to PC.
Use FTP ASCII mode to convert the file content when transferring from the IFS to PC.
DCM can import ASCII encoded PEM files, so transfer from the PC to the IFS using binary mode.