Skip to content

Error: Unsupported Algorithm When Extracting Public Certificate from PKCS#12 File #23089

Answered by mattcaswell
tangzhiqiangh asked this question in Q&A
Discussion options

You must be logged in to vote

801B5126747F0000: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 ()

This tells you that the file has been encrypted with an unsupported encryption algorithm (RC2-40-CBC). That algorithm is now considered legacy and insecure. The algorithm is still available in our legacy provider. Please try adding "-legacy" to your command line.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@boniface1994
Comment options

Answer selected by t8m
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #23088 on December 19, 2023 10:23.