Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message : "error:0308010C:digital envelope routines::unsupported" #45

Open
akorajac opened this issue Sep 1, 2023 · 5 comments
Open

Comments

@akorajac
Copy link

akorajac commented Sep 1, 2023

I get that error when trying to create a pass, I don't quite understand what the issue is as I tried multiple things also used the exact example you provided.

@rebbieboi
Copy link

did you manage to fix this?

@rebbieboi
Copy link

this fixed it for me: https://stackoverflow.com/a/73858615/694464

the problem for me was because of ubuntu 22.04 using openssl v3

@ugd
Copy link

ugd commented Mar 23, 2024

still no updates on a fix for this issue without changing the openssl config file?

@benisi
Copy link

benisi commented Aug 7, 2024

Have you tried creating a new .p12 file using the following commands:

# Decrypt the legacy p12 file
openssl pkcs12 -legacy -in key.p12 -nodes -out key_decrypted.tmp

# Recreate the p12 file
openssl pkcs12 -in key_decrypted.tmp -export -out key_new.p12

key.p12 is the original p12 file built with legacy OpenSSL.

key_decrypted.tmp is the temporary decrypted file.

key_new.p12 is the new p12 file.

From my experience, this approach has resolved similar issues. The error you're encountering is often related to compatibility or encryption problems with legacy .p12 files, and regenerating the file in this way can help address those problems.

@Abdo-Najjar
Copy link

I had the same issue even after editing the openssl config file
what helpped me is benisi commet above me
@benisi you are a true hero much love <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants