IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
  • 1.  DCM upload or import of .pem or .cer files fails

    Posted 06/08/26 09:19 AM
    hi,
     
    both uploading and importing trust chain certificates (R43/R46) fail with a generic error 
     
     
           Upload Failed
           xxxxxxxxxxx.pem
     
           Unexpected error occurred
     
     
     
    The .cer and .pem files are ok, both
     
        openssl x509 -in xxxxxxxxxxxxxxx.cer -text -noout
    &
        openssl x509 -in yyyyyyyyyyyyyyy.pem -text -noout
     
    show a very reasonable content.
     
     
    "The only certificate formats that will import on the System i without an outstanding certificate request are IBM System i proprietary format and PKCS#12 (.pfx, .p12) format."
     
    May we need to ask our providers for .p12 format?
    Thanks,
    Albert


    ------------------------------
    Albert Rio
    ------------------------------


  • 2.  RE: DCM upload or import of .pem or .cer files fails

    Posted 06/08/26 10:03 AM

    openssl pkcs12 -export -in myfullchain.pem -inkey privkey.pem -out certificate.p12



    ------------------------------
    Jack Woehr
    Senior Consultant
    Seiden Group LLC
    Beulah CO
    3038478442
    ------------------------------



  • 3.  RE: DCM upload or import of .pem or .cer files fails

    Posted 06/08/26 10:20 AM

    Did you select "Certificate Authority" after the Import in DCM... it looks like you selected "Server or Client" which is not correct if you want to import trust chain certificates.

    BTW, P12 is not used for trust chain certificates... it is used for importing server certificates (ie. public/private in one file instead of a csr plus a cer).



    ------------------------------
    Paul Nicolay
    Architect
    Cegeka
    ------------------------------