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

thread 'main' panicked at 'called Result::unwrap() on an Err value: Normal(ErrorStack([Error { code: 50856204, library: "digital envelope routines", function: "inner_evp_generic_fetch", reason: "unsupported", file: "crypto\\evp\\evp_fetch.c", line: 349, data: "Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()" }]))', examples\tests.rs:14:71 #6

Open
aishwaryagm1999 opened this issue May 28, 2022 · 5 comments

Comments

@aishwaryagm1999
Copy link

I get the following error when I run the code through visual studio code using cargo run command
thread 'main' panicked at 'called Result::unwrap() on an Err value: Normal(ErrorStack([Error { code: 50856204, library: "digital envelope routines", function: "inner_evp_generic_fetch", reason: "unsupported", file: "crypto\evp\evp_fetch.c", line: 349, data: "Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()" }]))', examples\tests.rs:14:71

is there any extra step that needs to be taken while running the code?

@TimonPost
Copy link
Owner

Have no clue sorry. Are you sure openssl is installed corectly?

@aishwaryagm1999
Copy link
Author

Yh. Openssl is installed correctly

@aishwaryagm1999
Copy link
Author

Could you please provide the steps on how you generated the identity.p12 and root-ca.der files for certificate?

@TimonPost
Copy link
Owner

TimonPost commented Jun 3, 2022

I theoretically could but I dont know it from the top of my head, you can just google for: "How to generate self-signed p12 certificates", and there should be enough tutorials listing a step-to-step guide.

@aishwaryagm1999
Copy link
Author

aishwaryagm1999 commented Jun 3, 2022 via email

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

2 participants