batel
batel

Reputation: 1

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?

Upvotes: 0

Views: 284

Answers (1)

Nicolas Bousquet
Nicolas Bousquet

Reputation: 4000

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.

Upvotes: 1

Related Questions