This is a migrated thread and some comments may be shown as answers.

Unable to capture HTTPS from CLI app

3 Answers 406 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Segev
Top achievements
Rank 1
Segev asked on 27 May 2020, 11:37 AM

Hello,

 

I'm trying to capture HTTPS traffic made by a command line application I run on the cmd terminal.

I'm using Windows 10, proxy is defined and I capture all communication done from browsers or other applications, but don't see anything when I run this app (which I know for a fact does HTTPS communication).

Am I missing something? Should I define the proxy differently? Please assist.

 

Best,

Segev.

3 Answers, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 29 May 2020, 09:03 AM

Hi Segev Dagan,

 

How is your CLI application creating HTTPS requests? Depending on what technology stack is used there might be different solutions. For example, check here for how to enable capturing traffic from WinHTTP application (in the same documentation you will find many extra steps for enabling the capturing on different applications/frameworks).

 

Regards,
Nick Iliev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Segev
Top achievements
Rank 1
answered on 29 May 2020, 05:52 PM

Hi Nick, thank you very much for your answer.

It is a golang CLI app which is bound to OpenSSL via this package https://github.com/spacemonkeygo/openssl .

I have not find a way to configure a proxy through this package's API, and am wondering if I could configure OpenSSL to always run through a proxy for every app which uses it, or something of that sort.

Thanks again for your answer, it's much appreciated.

Best,

Segev.

0
Nick Iliev
Telerik team
answered on 02 Jun 2020, 05:52 AM

Hi Segev Dagan,

 

It seems that setting a proxy when using OpenSSL is not a trivial job. You could check this SO thread for some directions on how to proceed (note there are different solutions based on the version of SSL used on your side).

 

Regards,
Nick Iliev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Windows
Asked by
Segev
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Segev
Top achievements
Rank 1
Share this question
or