Menu

Certificate file p12 "remove password"

Help
2023-07-26
2023-07-26
  • Stefan Harbich

    Stefan Harbich - 2023-07-26

    Hello, my dears,

    I created a p12 certificate file with ejbca and wanted to delete the password with the following command. I get the following error message:

    ...
    root@nsthwme02:/home/stefan.harbich/Downloads# openssl pkcs12 -in "nsthtme02.intern.example.com.p12" -nodes | openssl pkcs12 -export -out "nsthtme02.intern.example.com.test.p12"
    Enter Import Password:
    Error outputting keys and certificates
    808BAA26A27F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
    Could not read any certificates from -in file from <stdin>
    ...</stdin>

    Do you have an idea where the error can be?

    Greetings from Stefan Harbich

     
  • Stefan Harbich

    Stefan Harbich - 2023-07-26

    Hello,
    i only have the problem on my new notebook with openssl version 3. Version 1 is running on the server. Everything works there. I was able to solve the problem as follows:
    URL: https://www.practicalnetworking.net/practical-tls/openssl-3-and-legacy-providers/
    Greetings from Stefan Harbich

     

Log in to post a comment.