Record and replay HTTPS on different machine

58 views
Skip to first unread message

frank.jia...@gmail.com

unread,
Nov 14, 2014, 3:43:58 PM11/14/14
to httpf...@googlegroups.com

Does Fiddler support record and replay HTTPS traffic on a different machine?

Here are what I plan to do:

(1) On machine A with Fiddler installed, record HTTPS traffics
(2) On machine A using Autoresponder feature to respond automatically with saved data in step 1.
(3) On machine A export the requests as Curl commands or JSON file
(4) Put the saved requests on machine B and replay the saved requests to machine A (which auto respond with save data)


This works for HTTP. However, does it work for HTTPS?

EricLaw

unread,
Nov 14, 2014, 5:18:36 PM11/14/14
to httpf...@googlegroups.com
Sure, this will work for HTTPS as well as HTTP; you need Machine A's proxy settings pointed at Machine B.

For HTTPS, you also need to ensure that Machine B uses the same Fiddler root certificate as Machine A (because otherwise Machine A won't trust the certificate used by Machine B), or that Machine A is configured to trust the certificate used by Machine B.

Stepping back a bit though-- why would you want to do this?

frank.jia...@gmail.com

unread,
Nov 14, 2014, 5:57:41 PM11/14/14
to httpf...@googlegroups.com

My use case is to test HTTPS.

Does it work change machine A's host file instead of using proxy? The product I need to test itself is a HTTPS proxy.

EricLaw

unread,
Nov 17, 2014, 12:00:17 PM11/17/14
to httpf...@googlegroups.com
It would be helpful if you step back and explain exactly what it is that you're trying to do.
Reply all
Reply to author
Forward
0 new messages