Click here to Skip to main content
15,904,023 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I am trying to create HTTP AND HTTPS proxy server in C#.
It should be a console application.just i can set a IP and port to it.

I tried searching in google but didn't found any help.


Please help me.

Thanks in advance :).

What I have tried:

I tried this post,but getting ssl security error.
Implementing a Multithreaded HTTP/HTTPS Debugging Proxy Server in C#[^]

here they are providing ssl certificate to vlaidate sever certificate.which is not required in my case.

i only have to secure the connection from client(browser-where i will set proxy ip and port in internet option Lan setting) to my proxy application(server).
Posted
Updated 30-Jan-19 21:55pm
v5
Comments
F-ES Sitecore 5-Dec-18 6:51am    
If your browser sends a secure request to the proxy it expects a secure response back which is why it needs the certificate. Your server can't act as a secure server unless it does this step.
Member 13838273 6-Dec-18 2:21am    
ok.But i cant buy SSL certificate for each and every HTTPS web site which i want to browse through https proxy server.

1 solution

 
Share this answer
 
Comments
Member 13838273 6-Dec-18 2:22am    
Richard - Please read my question carefully and please visit the link i have provided.
even i have googled my problem but didn't found any help.
i have to create a proxy server application using C# code.
but your solution telling me how to configure proxy ip .i already know that.
Richard MacCutchan 6-Dec-18 10:59am    
The search I posted is specifically for "how to write a proxy server", nothing to do with configuring.
Member 13838273 13-Dec-18 2:34am    
Richard-This is just a google link can you please provide me a link specific to question.
Richard MacCutchan 13-Dec-18 3:49am    
This forum is for specific technical questions. You are expected to do your own research.
Member 13838273 13-Dec-18 3:54am    
Richard - This is a specific question related to creating proxy class using C#.After doing all Research i have posted this question here in this forum hoping someone will help me.
Note : if you are not interested please ignore the post.Let other answer the question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900