Hi Gio,
   If you imported the certificate as a CA (Certificate Authority) and this
   is a client certificate then yes, remove the CA version first.
   When I install client certificates I include the year the certificate
   expires in the label which helps keep the labels unique, for example we
   have a wildcard certificate so I label it star2026 as it expires in 2026.
   You can name the label anything as long as it does not exist.
   Hope that helps.
   Thanks
   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: Wednesday, 10 September 2025 10:54 PM
   To: 'Midrange Systems Technical Discussion'
   <midrange-l@xxxxxxxxxxxxxxxxxx>
   Cc: gio.cot <gio.cot@xxxxxxxxxxx>
   Subject: R: Import certificate : Error A cryptographic error occurred
   Hi Don
   Before i was on error for the wrong password .
   Now that i input the correct password, i receive this error:
   "a certificate with the same label or public key already exists in the
   certificate store
   If the certificate that is being imported was already imported as an AC
   certificate, remove that AC certificate before trying the request again"
   Thanks in advance
   Gio
   Da: Don Brown <dbrown@xxxxxxxxxxxxxxxx>
   Inviato: mercoled� 10 settembre 2025 01:37
   A: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
   Cc: gio.cot <gio.cot@xxxxxxxxxxx>
   Oggetto: RE: Import certificate : Error A cryptographic error occurred
   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
   OneTeam IT Pty Ltd <[2]
https://www.oneteamit.com.au>
   P: 1300 088 400
   -----Original Message-----
   From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx
   <[3]mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx> > On Behalf Of gio.cot
   via
   MIDRANGE-L
   Sent: Tuesday, 9 September 2025 11:18 PM
   To: midrange-l@xxxxxxxxxxxxxxxxxx
   <[4]mailto:midrange-l@xxxxxxxxxxxxxxxxxx>
   Cc: gio.cot <gio.cot@xxxxxxxxxxx <[5]mailto: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
   <[6]mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx> To subscribe, unsubscribe, or
   change
   list options,
   visit: [7]
https://lists.midrange.com/mailman/listinfo/midrange-l
   or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
   <[8]mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
   Before posting, please take a moment to review the archives at
   [9]
https://archive.midrange.com/midrange-l.
   Please contact support@xxxxxxxxxxxxxxxxxxxx
   <[10]mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
   questions.
   --
   Message protected by MailGuard: e-mail anti-virus, anti-spam and content
   filtering.
   [11]
https://www.mailguard.com.au
   --
   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: [12]
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 [13]
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.
   [14]
https://www.mailguard.com.au
References
   Visible links
   1. 
https://www.oneteamit.com.au/
   2. 
https://www.oneteamit.com.au>/
   3. mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
   4. mailto:midrange-l@xxxxxxxxxxxxxxxxxx>
   5. mailto:gio.cot@xxxxxxxxxxx>
   6. mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
   7. 
https://lists.midrange.com/mailman/listinfo/midrange-l
   8. mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
   9. 
https://archive.midrange.com/midrange-l.
  10. mailto:support@xxxxxxxxxxxxxxxxxxxx>
  11. 
https://www.mailguard.com.au/
  12. 
https://lists.midrange.com/mailman/listinfo/midrange-l
  13. 
https://archive.midrange.com/midrange-l.
  14. 
https://www.mailguard.com.au/
As an Amazon Associate we earn from qualifying purchases.