If the csr (certificate signing request) was not generated using dcm then
   you will need the certificate in pkcs7 or similar format that incudes both
   the private and public keys.
   ASAIK this requires the file to have a password.
   I am surprised that you are not being prompted for a password when you are
   trying to import the certificate.
   I would suggest you ask whoever supplied the certificate to re-export in a
   format that has both keys and apply a password.
   The other option would be to use openssl to work with what you have.
   Cheers
   Don
    
   Don Brown
   Senior Consultant
    
   [1]OneTeam IT Pty Ltd
   P: 1300 088 400
   -----Original Message-----
   From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
   gio.cot via MIDRANGE-L
   Sent: Tuesday, 9 September 2025 11:18 PM
   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: [2]
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
   [3]
https://archive.midrange.com/midrange-l.
   Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
   questions.
   --
   Message protected by MailGuard: e-mail anti-virus, anti-spam and content
   filtering.
   [4]
https://www.mailguard.com.au
References
   Visible links
   1. 
https://www.oneteamit.com.au/
   2. 
https://lists.midrange.com/mailman/listinfo/midrange-l
   3. 
https://archive.midrange.com/midrange-l.
   4. 
https://www.mailguard.com.au/
As an Amazon Associate we earn from qualifying purchases.