Hi Zio,
I've seen that error when working with .cer files. There are two things I
would verify first.
1) That you transferred the file to the IBM i in binary format.
2) The CCSID of the file is 819 (or maybe 65535 since I believe that a
pfx file contains binary data.)
I've had issues where sometimes files transferred to the IFS get assigned a
CCSID of 1208 and that has caused problems with DCM.
You can change the CCSID of the file using the following command.
CHGATR OBJ('/dir/subdir/file.pfx') ATR(*CCSID) VALUE(819)
Rob W
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
gio.cot via MIDRANGE-L
Sent: Tuesday, September 9, 2025 6:18 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: gio.cot <gio.cot@xxxxxxxxxxx>
Subject: Import certificate : Error A cryptographic error occurred
Hi all
I'm try to import a Server / Client certificate in DCM, but i receive the
error : "A cryptographic error occurred".
The person that created the certificate told me that the certificate has not
password .. question: for import the certificate on IBM i, the password is
mandatory or Not ?
As the error message is very generic , how could have a detailed cause to
better understand which could be the problem .
N.B. the certificate is .PFX format
Thanks in advance
Gio
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
.
As an Amazon Associate we earn from qualifying purchases.