-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Windows: cannot access native cert store
#11515
Comments
Hey, this is most likely related to that your My guess is that rustls-native-certs panics in Does the node crash after this error? |
Windows
I have the same issue. |
@ltfschoen stated;
This issue will likely be resolved by updating |
The sad part is that |
Windows
cannot access native cert store
@sammyp42 @Johanpmeert, some questions:
edit: I tested openthereum with a fresh Windows10 Enterprise installation and works ok. |
I downloaded the latest version to retest and get similar issue, but error appears in different part of code now (I replaced my userid with {user}):
nothing exciting in the logs either (and I used the -ldebug flag):
I have a whole bunch of certs under current user. It's as if some security setting is blocking access to something, but not sure where to look, doesn't seem UAC, or SmartScreen related. |
Please, can you check what happens if you run it with |
I used the following cmd line options to generate the output provided:
|
@sammyp42, please could you try if this version works? https://github.com/openethereum/openethereum/tree/adria0/rusttls-171 if you do not want to comple it use this: |
I downloaded the binary and it works! |
The problem we have now with Windows users is that if the windows certificate store contains a X509 certificate that is not able to process, the client panics. This is solved in If we use We can wait to #11823 and use |
Let's take the plunge and upgrade to tokio-compat. |
@vorot93 I've been checking what I need to change, it seems that mainly this is in
We can rewrite the logic for a) what is the criteria for selecting which functions move to async (we also use async traits there?). Mainly talking about FetchClient's I think that is better just to rollback to |
(closed by mistake) |
2020-02-25 06:28:32 Starting Parity-Ethereum/v2.7.2-stable-d961010f63-20200205/x86_64-pc-windows-msvc/rustc1.41.0
2020-02-25 06:28:32 Keys path C:\Users\johan\AppData\Roaming\Parity\Ethereum\keys\ethereum
2020-02-25 06:28:32 DB path C:\Users\johan\AppData\Local\Parity\Ethereum\chains\ethereum\db\906a34e69aec8c0d
2020-02-25 06:28:32 State DB configuration: fast
2020-02-25 06:28:32 Operating mode: active
====================
stack backtrace:
0: 0x7ff79df7ea66 -
1: 0x7ff79e93389d -
2: 0x7ff79e9336b1 -
3: 0x7ff79f61e3bb -
4: 0x7ff79f625398 -
5: 0x7ff79e044c3d -
6: 0x7ff79e04b90f -
7: 0x7ff79e7d8185 -
8: 0x7ff79e6da84e -
9: 0x7ff79e69e5e8 -
10: 0x7ff79f63f077 -
11: 0x7ff79f641e5c -
12: 0x7ffb961b7bd4 - BaseThreadInitThunk
Thread 'fetch' panicked at 'cannot access native cert store: Custom { kind: InvalidData, error: BadDER }', src\libcore\result.rs:1188
The text was updated successfully, but these errors were encountered: