CauldronDevelopmentLLC / oh-brother

A simple cross-platform utility written in Python which can update Brother printer firmwares
GNU General Public License v2.0
102 stars 21 forks source link

curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect #14

Closed nitrogenblue closed 7 years ago

nitrogenblue commented 7 years ago

I tried to curl my request in an xml file to the brother server, but received this:

curl -X POST -d request.xml https://firmverup.brother.co.jp/kne_bh7_update_nt_ssl/ifax2.asmx/fileUpdate -H "Content-Type:text/xml" --sslv3

curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect

What do I do?

Thanks a lot for your work!

jcoffland commented 7 years ago

This is not the place to ask for help with curl.

nitrogenblue commented 7 years ago

I was wondering if Brother closed the firmware server for non Brother service centers? Because of this: "the server most likely requires a client certificate to connect"

In request.xml I used part of your code:

MAIN MAC 1 HL-2250DN series MAIN 1.15 BRNET 1.10 1 2 1
nitrogenblue commented 7 years ago

Sorry, that was not the full code:

MAIN MAC 1 HL-2250DN series MAIN 1.15 BRNET 1.10 1 2 1
jcoffland commented 7 years ago

If you have identified a bug with this software then please provide some context and open an new issue about that bug.

nitrogenblue commented 7 years ago

I was wondering if Brother closed the firmware server for non Brother service centers? Because of this: "the server most likely requires a client certificate to connect"

I cannot reach the server. No bug in this software.

jcoffland commented 7 years ago

That doesn't make sense. People would still need to upgrade their printers at home using Windows. So they would have to be able to contact Brother's severs. Also, I just ran oh-brother.py on my machine and it worked so I was able to connect to Brother's servers.

nitrogenblue commented 7 years ago

Thanks a lot for running oh.brother.py . I must have done something wrong. I am trying to revive my Brother printer after a failed firmware update..

jcoffland commented 7 years ago

Good luck.