Here is how you can fix the Cydia Impactor error “http-win.cpp:158 Peer cetificate cannot be authenticated with given CA certificates SSL”.
Update: Cydia Impactor has been updated to version 0.9.39 to fix this issue. Please update to the latest version.
Cydia Impactor is a very useful software that allows unsigned iOS apps to be installed on a non-jailbroken iOS device. This means that if you have any iOS IPA file which you’d like to install on your iPhone, then you can very easily do it via Cydia Impactor.
Recently, many of our readers have reported that Cydia Impactor is displaying the “http-win.cpp:158” or “provision.cpp:158” error when attempting to install an IPA file such as the Yalu jailbreak for iOS 10 – iOS 10.2. This error started to appear all of a sudden and seems to be happening to many users. The full error message is as follows:
“http-win.cpp:158 Peer cetificate cannot be authenticated with given CA certificates SSL certificate problem: self signed certificate in certificate chain”
The reason behind this error is unknown, but we have found a fix. Apparently, this error is only displayed to users who are using a Windows machine. This means that Cydia Impactor has been working fine on Mac and Linux machines. Therefore, to fix this error, you can use a Mac or Linux to install the IPA files instead of Windows. If you don’t own a Mac, this guide will show you how to use a virtual machine and fix the “http-win.cpp:158” error in Cydia Imapctor.
How to Fix “http-win.cpp:158” Error in Cydia Impactor
Method 1: Update Cydia Impactor to version 0.9.39
Saurik has updated Cydia Impactor to fix this error. So head to cydiaimpactor.com and download the latest available version.
Method 2 (Old):
Update: Cydia Impactor has been updated to version 0.9.39 to fix the “http-win.cpp:158” error. Please read method 1 above which will definitely fix the error. If not, read the below guide.
As mentioned earlier, this error seems to be happening to Windows users. To fix it, you can use a Mac or Linux machine instead of Windows.
If you don’t own a Mac, then read the steps below to install macOS on Windows using a virtual machine and then use Cydia Impactor on macOS.
Step 1: The first step is to install macOS on Windows using a virtual machine. Read the guide below to find out how to do it:
Step 2: Once macOS Sierra has been installed on your Windows machine, switch it on.
Step 3: Download Cydia Impactor on the macOS virtual machine.
Step 4: Now try installing the desired IPA file on your device using the macOS virtual machine.
You will notice that Cydia Impactor no longer displays the “http-win.cpp:158” or “provision.cpp:158” error. Apparently, the error appears to be displaying to Windows users and doesn’t show on Mac on Linux machines.
We’re yet to see why this issue is happening to Windows users, but for now, you can follow this guide to fix the error and continue installing your favorite IPA files.
Now that you’ve fixed this error, you can check out these articles for installing some interesting IPA files:
- How to Install Pokemon Go++ 1.27.4 on iOS
- How to Install YouTube++ on iOS Without Jailbreaking
- How to Install 8 Ball Pool Hack Without Jailbreaking
Let us know if the above method works for you.