francescotescari / XiaoMiToolV2

XiaomiTool V2 - Modding tool for xiaomi devices
https://www.xiaomitool.com
Apache License 2.0
625 stars 124 forks source link

"Internet connection error: IOException: PKIX path building failed" error when unlocking bootloader #95

Open KygekDev opened 1 year ago

KygekDev commented 1 year ago

So I'm having an issue with the tool, I got this error when trying to unlock the bootloader of my Xiaomi Mi 10 5G:

InstallException created: connection_error - Internet connection error: IOException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

The latest installer version no longer updated, so I manually cloned the repo to my machine and ran gradlew run with Java JDK 11 installed. Everything worked fine until that point. What is the problem and what can I do to solve the issue? Any help would be greatly appreciated!

Operating system: Windows 11 Version 22H2 (Build 22621.1105)