could not parse PKCS12 file, check password, OpenSSL error error:0308010C:digital envelope routines::unsupported
See original GitHub issueExpected 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
- Document settings
- Client Certificates tab
- New Certificate
- Add a p12 certificate for a domain
- Create request and send to the domain which is created in step 4.
Is there an existing issue for this?
- I have searched the issue tracker for this problem.
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:
- Created a year ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
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.