[stunnel-users] Question in using stunnel

Sara Baghbanzadeh sbagh076 at uottawa.ca
Thu Jul 3 01:38:08 CEST 2014

Hi there,

I have a proxy (PHP file) which I want it to work as a server for me. I
have PhantomJS as my client which loads particular url and instead of
sending its requests to the main server it will send them to my proxy. I am
going to send it back its responses. I have no problem when the website is
based on HTTP. But, since my proxy cannot deal with SSL, I have problem
with HTTPS websites.

Actually, I have a database contains all the requests and responses which I
captured by Fiddler. I use this database when I want to send a response to
Now, I cannot fill out my database since I cannot capture completely
decrypted traffic using none of existing tools. Also I need to receive
decrypted request from PhantomJS!

Therefore, I decided to use stunnel for solving my problem. I am going to
use it in order to decrypt all the requests from PhantomJS, and then, send
them to my proxy, and also encrypt all my responses, before sending back to
PhantomJS. I have installed latest version of stunnel on my Ubuntu machine
and have generated a config file. I could not solve my problem using
stunnel so far and my question is:

Can stunnel solve my problem? I mean, can I use stunnel in order to decrypt
PhantomJS's requests and encrypt my responses? ...

If yes, could you please tell me how?

Thank you so much and I am eagerly waiting to receive your response.

Thanks in advance,
Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20140702/c1d4731a/attachment.html>

More information about the stunnel-users mailing list