TimonPost / udp-dtls

DTLS abstraction ontop of UDP
MIT License
15 stars 4 forks source link

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 2 years ago

aishwaryagm1999 commented 2 years ago

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 commented 2 years ago

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

aishwaryagm1999 commented 2 years ago

Yh. Openssl is installed correctly

aishwaryagm1999 commented 2 years ago

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

TimonPost commented 2 years ago

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 commented 2 years ago

Okay. Thanks for the response

On Fri, 3 Jun, 2022, 4:36 pm Timon, @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/TimonPost/udp-dtls/issues/6#issuecomment-1145852387, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANGXJQDHGEPMG2UQ4LAFSD3VNHRJ5ANCNFSM5XG26JEA . You are receiving this because you authored the thread.Message ID: @.***>