Facing http-win.cpp:158 peer certificate error when trying to jailbreak iPhone 7, 6S, Plus with Yalu iOS 10.2 jailbreak tool in Windows? The solution is here and it is very simple.
Cydia Impactor http-win.cpp:158
Earlier yesterday, Luca Todesco released Yalu iOS 10.2 jailbreak tool with support for all 64 bit devices. Though it is semi-untethered, but still it is jailbreak. Yalu iOS 10.2 jailbreak currently support iPhone 6S Plus, 6S, 7 Plus, 7, iPad Air 3, iPad Mini 4, 3 and iPod Touch.
If you have previously used Yalu iOS 10.1 jailbreak, you would be familiar with Cydia Impactor. It is a tool that allow users to install the unsigned apps on their iOS devices. Since Yalu102 falls in same category, so Cydia Impactor is must for iOS 10.2 jailbreak.
Incase face hostname could not resolve error in Cydia Impactor, follow this tutorial to fix it. Unlike Xcode, Cydia Impactor is available for both Windows and Mac.
However, when trying to install yalu102 jailbreak for iOS 10.2 on their iDevices, users are facing this error in Windows:
peer certicate cannot be authenticated with given CA certificates
SSL certificate problem: self signed certificate in certificate chain
Guide to Fix http-win-cpp:158 Error in Cydia Impactor with Yalu iOS 10.2 Jailbreak on Windows
So here we go with tutorial to fix this annoying problem. Once it is fixed, you will achieve jailbreak on iOS 10.2 jailbreak. Check this list of iOS 10.2 compatible Cydia tweaks.
As mentioned before, the issue is faced by Windows users only. So if you can arrange a MacOS powered system, you are good to go. This has been tried on Mac and no error was faced. Incase you do not have MacBook or iMac, you can try out Linux system. Cydia Impactor is available for Linux too.
If none of above is convenient, follow the steps below to fix this http-win.cpp:158 error in Windows:
- First of all download any virtual machine software.
- We will be using that to install macOS Sierra on Windows PC. We recommend VMware.
- Once it is downloaded and installation is completed, you can proceed with macOS Sierra installation.
- After all is done, download Cydia Impactor.
- Download yalu102 tool.
- Place both the files on your desktop.
- Now launch Cydia Impactor and drag/drop the yalu102 IPA file to start its installation.
Follow the simple on-screen instructions to achieve iOS 10.2 yalu jailbreak on your iPhone and iPad.