DsHidMini icon indicating copy to clipboard operation
DsHidMini copied to clipboard

Certificate error on Windows 11

Open synapp009 opened this issue 2 years ago • 24 comments

When I tried to install the dshidmini.inf I got following error on Windows 11:

dshidmini.inf: Failed to add driver to the system. Error 0x800B0110: The certificate is not valid for the requested usage.

synapp009 avatar Sep 14 '21 23:09 synapp009

Have you recently applied a Windows update? We had another user on the Discord where a recent update ruined the included root certificate chains. This is a Microsoft issue, nothing I can do about. The certificate on the driver is perfectly fine and works throughout all Windows 10 builds as expected.

nefarius avatar Sep 15 '21 07:09 nefarius

It happens with the new Windows 11 build 22454. So it might only be somemthing to worry in the future. Thanks for your fast response.

synapp009 avatar Sep 15 '21 09:09 synapp009

I don't really consider Windows 11 "stable" and "mainstream" yet, Microsoft is constantly changing the rules and break things in a subtle way, independent developers can't keep up with this nonsense. I will keep it on my radar but for now I consider DsHidMini stable and Windows 11 beta, not the other way around 😛

Cheers

nefarius avatar Sep 15 '21 11:09 nefarius

Alright, it has been confirmed this is an issue with a certain Windows 11 update. Unfortunately we haven't taken note of which specific one, if someone knows, please chime in as it seems a folluw-up update has fixed the issue.

Cheers

nefarius avatar Oct 01 '21 11:10 nefarius

Got notice from a user that it is back in the currently most recent build 🤣

image

Maybe Microsoft shouldn't have fired the entire QA department... Always nice to see OS basics break randomly.

nefarius avatar Oct 01 '21 11:10 nefarius

I worked around this by temporarily disabling driver signature checking.

I had a working installation of the driver before the Windows update that broke this, so I think the update might've even removed/disabled the driver.

Jjagg avatar Oct 01 '21 20:10 Jjagg

I'd love if for a change Microsoft would swiftly fix core components they casually break all the time though 🤣

nefarius avatar Oct 01 '21 21:10 nefarius

I think @Jjagg is right, the updates are actually going out of their way to break the bluetooth driver. Might be Win11's BTH radio management, because mine has been behaving quite bizarrely. The past month, I've seen 5 updates cause my bluetooth connectivity to magically disable/re-enable. Right now, my wireless is working, but I've had the latest update standing by for over a week. I'm avoiding it at all costs, even going so far as to switch to working in a WSL2 dev environment or RDPing into an AWS EC2 instance, instead of rebooting into my normal linux installation... lol

chrisdlees avatar Nov 14 '21 23:11 chrisdlees

Isn't that exactly what one wants for a productive machine? Stuff randomly breaking? 🤣 I'll stay on 10 for as long as possible, public Beta products aren't my thing 😉

nefarius avatar Nov 15 '21 08:11 nefarius

There's news on this topic, apparently Windows 11 will start to mandate Microsoft signed UMDF drivers as well, so future releases will be made "Windows 11-ready" accordingly.

nefarius avatar Dec 08 '21 21:12 nefarius

Hi there. I've had this error message as well although I am trying something a little different. I am using my macbook pro m1 with parallels and trying to install it. I'm not sure if that makes any difference. Is there a solution for this yet?

Thanks.

sambolee avatar Nov 22 '22 20:11 sambolee

If there was, this issue would hold said information and would be closed 😉

nefarius avatar Nov 22 '22 20:11 nefarius

Haha right...I will wait patiently :)

sambolee avatar Nov 22 '22 20:11 sambolee

Hey guys, was this ever solved? I'm getting this "The certificate is not valid for the requested usage." issue as well. Using Windows 11 Home build 22621.1702 with latest updates, via Parallels on an M1 Mac Air

HeavyManCrush avatar May 23 '23 08:05 HeavyManCrush

Nothing has changed in the issue state so no, didn't get resolved.

nefarius avatar May 23 '23 08:05 nefarius

Nothing has changed in the issue state so no, didn't get resolved.

Any idea how to make it work alternatively? Or an ETA on you fixing this?

Happy to join a Patreon if you have it

HeavyManCrush avatar May 23 '23 11:05 HeavyManCrush

I have a Patreon (linked everywhere, easy to find) but that won't change the fact that I simply have no time for this project for the next couple months 😛

nefarius avatar May 23 '23 11:05 nefarius

Getting a variant of this issue, "Install Error" "The INF file you've selected does not support this method of installation" "The required section was not found in the INF."

ThomasJeremiah avatar Nov 04 '23 09:11 ThomasJeremiah

Getting a variant of this issue, "Install Error" "The INF file you've selected does not support this method of installation" "The required section was not found in the INF."

I mean what are you expecting? The issue is still open and unchanged for a reason...

nefarius avatar Nov 05 '23 00:11 nefarius

I'm a little confused at this point, as mine has been working fine since reinstalling windows 11 from the latest canary/nightly/fastest-ring (I hate how microsoft chooses to name their release cycles) around 6 months ago. I have to uninstall and reinstall bthps3 after each weekly update, but other than that, no problems... Perhaps installing from the insider iso, rather than just switching via windows update, enables more than just 'developer mode'.... I sorta misrepresnted this by saying its been "working fine" because after last week, I uninstalled bthps3 BEFORE running the update, and while the uninstallation's --reboot flag was still active. After rebooting, at which time it forcibly updated w11, bthps3 is stuck in a unusable state: image I'm gonna try using ccleaner or something. Manually removing just the file from the driver store didn't seem to help.

P.S. Im a huge fan of all your work Nefarius, you are a shining star of coding in this cold hard world

chrisdlees avatar Nov 06 '23 02:11 chrisdlees

As a tl;dr, the OP and I were/are running insider builds, which were the same major release of w11 as the stable builds of the previous two commenters'. Even prior to cleanly installing the new GPT4/Dali-3-integrated major build, I began being able to use DsHidMini and PS3bth on the w11 installation I first commented about, sometime around it's February insider update.

Possibly has something to do with being forced to enable developer mode in Windows Settings, or maybe it's a plurality of factors, but switching to insider updates now seems to fix this issue. Otherwise, without a doubt, a:

Clean install of an up-to-date, October, insider's build of Windows 11 WILL fix this issue!

Tomorrow, I will try it on a clean install of the current w11 stable build, and attempt to isolate exactly which change to insider builds suddenly fixes this issue.

@nefarius Closed: Notabug? Wontfix? Simpleworkaround? Fixesitself?

chrisdlees avatar Nov 06 '23 04:11 chrisdlees

P.S. Im a huge fan of all your work Nefarius, you are a shining star of coding in this cold hard world

Thank you kindly, recently though it feels like the fusion reaction is starting to fizzle out. It's not fun living in a world where 99.9% just want want want and the rest is getting shit done. Gets tiresome at some point.

nefarius avatar Nov 06 '23 14:11 nefarius

@nefarius Closed: Notabug? Wontfix? Simpleworkaround? Fixesitself?

Consider it not fixed since the way forwards is also submitting user-mode drivers to getting a Microsoft signature.

nefarius avatar Nov 06 '23 14:11 nefarius

I'm gonna try using ccleaner or something. Manually removing just the file from the driver store didn't seem to help.

The fix to this is covered in the BthPS3 FAQ 😛

nefarius avatar Nov 06 '23 15:11 nefarius