How to fix http-win.cpp:159 error in Cydia Impactor

A lot of jailbreakers have been reporting a weird “Peer Certificate authentification” error in Cydia Impactor. Here are a few solutions you can try to fix this error.

  • Update – Version 0.9.43 fixes this error completely. Download now from this link.

What does http-win.cpp:159 error mean?

Before you go looking for a solution to an error, it’s always recommended to have an idea of what’s wrong.

Jay Freeman aka Saurik has designed Cydia Impactor in such a manner that makes identifying errors a breeze.

http-win.cpp:159 error

The http-win.cpp:159 error goes something like this –

Peer certificate cannot be authenticated with given CA certificates SSL certificate problem: unable to get local issuer certificate.

You can also get another error message –

Couldn’t connect to server
Failed to connect to developerservices2.apple.com port 443: Timed out

It’s clear that the message signifies a problem with the signing certificate. Here are a few fixes that will certainly help you fix this issue once and for all on your iPhone, iPad, and iPod touch.

Fix  http-win.cpp:159 Peer certificate error

1. Revoke Certificates

Since this issue is related to certificates, you must revoke your certificates first. Here’s how you can do it.

  • Open Cydia Impactor.
  • Click on the Xcode tab.
  • Click the Revoke Certificates option.

revoke certificates cydia impactor

If this fix doesn’t work for you, move onto other methods given below.

2. Switch your Internet connection

A faulty connection can also cause issues with Cydia Impactor. Even if your connection is working just fine, you can still get errors.

Try using another internet connection and check if the issue persists.

3. Restart your computer

While this is not a proper fix, some users are able to fix this issue just by restarting their computer.

4. Use a Mac

Surprisingly, the http-win.cpp:159 error only affects Windows users. So if you own a Mac, you are in luck.

To fix it, simply run Cydia Impactor on a Mac or a Mac VM on your Windows setup. If you have a Linux machine, you can try using that as well.

macos 10.12.4

This method has a 100% success rate and it surely deserves a try.

Did you get it working?

There’s no official fix yet for this problem. If none of these fixes work, I suggest waiting for an update. Saurik is yet to say anything about this but I am sure he will release a fix soon.

Were you able to fix this issue? Let us know in the comments section below.

For more tutorials and guides, subscribe to our social channels on Facebook and Twitter.

4 Comments

  1. Milka October 31, 2017
    • Luca October 31, 2017
  2. Lucas October 30, 2017
    • Luca October 31, 2017

Leave a Reply