开发者

How do I make a proxy server I wrote work as an HTTPS server?

I have written a proxy server in Java and I need it to work as an HTTPS server which signs on its own certificate开发者_开发知识库 or uses a free CA.

What should I do?


Honestly I would just use apache in the frontend. The fact is that apache already act as a proxy, and that it add SSL on top on it.

this is exactly what I have made for my startup. We have a bunch of colaboratives tools online, protected with basic http authentication and SSL. this proved to be really effective and work well.

Or if you prefer and if you respect the servlet standard, then you can tell Tomcat for exemple to server page using SSL.

Anyway, my guess would be that you want to do it yourself and not just add a layer on your stack using an existing solution.

But if what interrest you is just the proxy mechanism and you don't care about how the content is encrypted you can be fine with this kind of solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜