Issue with SSL / TLS / HTTPS (crypt32 assertion fail)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
User avatar
FelixWolf
Newbie
Newbie
Posts: 3
Joined: Fri Apr 28, 2023 12:09 pm

Issue with SSL / TLS / HTTPS (crypt32 assertion fail)

Post by FelixWolf »

Hello!

I've been having issue with HTTPS / SSL requests on wine-8.6 on Archlinux 64.
I get the following error:

Code: Select all

Assertion failed: ref >= 0, file ../wine/dlls/crypt32/context.c, line 111
wine client error:16c: write: Bad file descriptor
when running Furcadia or anything that makes a HTTPS request.

I've done some searching for the assertion error but can't find anything, and would be appreciative of any possible solutions!
User avatar
FelixWolf
Newbie
Newbie
Posts: 3
Joined: Fri Apr 28, 2023 12:09 pm

Re: Issue with SSL / TLS / HTTPS (crypt32 assertion fail)

Post by FelixWolf »

Should note that this worked before.
Creating a new wine prefix has no affect, however using proton 7.14 does work.
User avatar
FelixWolf
Newbie
Newbie
Posts: 3
Joined: Fri Apr 28, 2023 12:09 pm

Re: Issue with SSL / TLS / HTTPS (crypt32 assertion fail)

Post by FelixWolf »

Resolved.

For anyone who is looking for a solution if this ever happens: Check your system certificate store. A corrupt certificate was causing the issue. Most applications may ignore it, but wine doesn't like the fact a corrupt certificate is present. This can happen with self signed certificates.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Issue with SSL / TLS / HTTPS (crypt32 assertion fail)

Post by DarkShadow44 »

An idea how to create such a corrupted certificate? Would be interesting to make Wine more stable, IMHO.
Locked