could not parse PKCS12 file, check password, OpenSSL error error:0308010C:digital envelope routines::unsupported

See original GitHub issue

Expected Behavior

Return response body without errors

Actual Behavior

Cannot connect to the server because there is an error while parses the PKCS12 file.

Reproduction Steps

  1. Document settings
  2. Client Certificates tab
  3. New Certificate
  4. Add a p12 certificate for a domain
  5. Create request and send to the domain which is created in step 4.

Is there an existing issue for this?

Additional Information

Timeline logs:

* Preparing request to https://mytest_domainname
* Current time is 2022-08-08T16:53:18.142Z
* Using libcurl/7.79.1-DEV OpenSSL/3.0.0 zlib/1.2.11 brotli/1.0.9 WinIDN libssh2/1.9.0_DEV nghttp2/1.45.1
* Using default HTTP version
* Disable timeout
* Enable automatic URL encoding
* Disable SSL validation
* Enable cookie sending with jar of 4 cookies
* Adding SSL P12 certificate
*   Trying xxx.xxx.xxx.xxx:443...
* Connected to apigatewayb2b.test.bnymellon.com (10.8.77.4) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* could not parse PKCS12 file, check password, OpenSSL error error:0308010C:digital envelope routines::unsupported
* Closing connection 0

Insomnia Version

2022.1.1 and newer versions

What operating system are you using?

Environment: Windows 10 21H2

Installation method

Download from website and click the executable file.

Last known Working Insomnia version

2021.7.2

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
haijunsucommented, Aug 11, 2022

Hi @filfreire, I tried the latest stable release (2022.5.0) first and it didn’t work. Then I tried every stable version backward until I found the version 2021.7.2 which worked.

1reaction
johnwchadwickcommented, Aug 12, 2022

Support for the RC2 cipher was moved into the OpenSSL legacy module in OpenSSL 3.x; I believe enabling this module would resolve the problem. It’s something we’ll have to look into.

Read more comments on GitHub >

github_iconTop Results From Across the Web

curl - OpenSSL error error:0308010C:digital envelope ...
I get error message, but password of p12 file is correct. Command: curl --insecure --cert-type P12 --cert my.p12:mypassword -X POST -d @mytest.
Read more >
How to Fix the Error Error:error:0308010C:digital envelope ...
Downgrade your machine's installed version of Node.js to 16 or below. Pass the --openssl-legacy-provider flag to Webpack or the Webpack-based ...
Read more >
openssl error 0308010c - You.com | The AI Search Engine ...
curl - OpenSSL error error:0308010C:digital envelope routines::unsupported ... curl: (58) could not parse PKCS12 file, check password, OpenSSL error ...
Read more >
error:0308010c:digital envelope routines::unsupported ...
What Causes the "0308010c:digital envelope routines::unsupported" Error? You are likely getting this error because of 2 main reasons: you're not ...
Read more >
curl - OpenSSL error error:0308010C:digital envelope ...
Meta: this isn't really programming or development, and would probably be better on superuser or maybe security.SX, but this is issue is likely...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found