fix error http-win.cpp:158 in cydia impactor

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 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:

Let us know if the above method works for you.

Tags: , ,

  • ahin yoo

    i am a Mac user… there is another ERROR msg
    An SSL error has occurred and a secure connection to the server cannot be made.”
    What can I do now? thanks

  • Luana Fernandes

    Have a host on another server? This is full.

  • Ing King シン

    cannot be downloaded

    • Ali

      Added mirror link.

  • Ali

    @disqus_qYgNnvFIu0:disqus @ingking:disqus Added mirror links

  • Emir Süleyman Tanrıkulu

    Well, actually this is bullshit. 90% of the world uses Windows machines. Addressing them to switch/install Linux or MacOs is lazy, and it’s not a FIX.

    • Raj Ambani

      TRUE !

    • Katsu Kami

      Well why don’t you freaking solve the problem. Your probably not a coder and you don’t now how hard it is truly just to do that and this is probably temporary.

    • Ali

      Well, if that’s the only fix right now, what else do you expect? Many users have reported that using macOS fixes the issue, which is why I’ve written this post along with a detailed guide on how to install macOS virtual machine.

      • Stanley

        Thank you Ali the macOS Method really works!

        • Ali

          Good to hear 🙂

  • iphone goodies

    hi guys u can check

    and install pp25 in windows that works . i done try

    • Yes 25PP is legit and does work.

  • Stanley

    Hello i installed the VM but it doenst recodnise the iPhone… only the Windows recodnise it… How can i fix this?

    • Stanley

      the VM-Method works! You have only to cange your VM hardware from USB 3.0 to USB 2.0

  • SiLVaBaCKJ

    yeah i aint doing all this shit, find a better fix…

    • Vlado Bračić

      better fix???

    • La Cerveza

      big fax chief this nigga expects us to emulate MACos, i dont even have that much time or room in my drive

  • Ali

    @ahinyoo:disqus @ingking:disqus @techboyambani:disqus @emirsleymantanrkulu:disqus @disqus_4FWD1mtOoY:disqus @silvabackj:disqus Cydia Impactor has been updated to version 0.9.39 to fix this error. So download the new version and you should no longer see the error.

    • La Jaw-Jian


      • Bartolomeo

        does not work 🙁

    • SiLVaBaCKJ

      works now, thanks

  • Luciano Machado

    Hi. Cydia Impactor 0.9.39 get error plist.hpp:500_assert(plist_get_node_type(plist_) == PLIST_DICT)

    IOS 9.3.5 run in Iphone 6

    • Scott Winterkorn

      Yes, I got this same error message after I upgraded to the new version 0.39 for Windows as well. I even rebooted my machine but no luck.
      Error is plist.hpp:500 _assert … (as shown above)

      • Ali

        @semionwalker:disqus @disqus_O34EH4eEwB:disqus @msrl:disqus @scottwinterkorn:disqus A new version of Cydia Impactor has been released. Can you try it and let me know if it fixes your error?

        • Scott Winterkorn

          thanks for your work Ali, much appreciated.
          i updated to version 9.41 but it fails with this new error message:
          iOS/submitDevelopmentCSR = 7460
          You already have a current iOS Development certificate…

          • Luciano Machado

            Try revoking your certificate on the XCODE impactor tab before jailbreaking.

    • Ali

      @scottwinterkorn:disqus @disqus_X4KslYO3Dm:disqus I’m looking for a fix and will inform once I find it.

      • Luciano Machado

        Thanks =)

      • msrl

        leaving a mark here, in case you’ve found how to fix it. 🙂

    • Luciano Machado

      Hello, I was able to reactivate the jailbreak by installing Sierra with VMWARE on my windows computer.

      • Ali

        So this error doesn’t appear on macOS?

        • Luciano Machado


          • Ali

            Ok thanks.

  • Faisal Rizvi


  • Semion Walker

    Hi guys, after a few days the kodi app stopped working for me on my iPad mini because i was using the free version as opposed to the paid version with the developer account. I am trying to get kodi back without losing any of my add ons. I have tried dropping the app back into cydia impactor but it keeps coming up with error messages. One of the error messages was ‘peer certificate cannot be authenticated’ until I downloaded the new version of Cydia impactor and now the error message I am getting is

    _assert(plist_get_node_type(plist_) = = PLIST_DICT)”

    Would really appreciate if someone could help


  • Joseph Horn

    I’m getting the same error as Semion

  • Ali

    No updates yet. Will inform if I find it.

  • Jermaine.M Cain (Jaycee)

    getting ccp;81 does anyone know the fix for this

  • Alexandr Kh

    the same error on win10

  • Silvermeth

    The error come from the repeated/same apple id. just use a different apple id.. The error comes from the pending certificate you issued from the previous apple id. and it is still in pending that’s why you receive the error. (or is it just me..but just try it)