NPC
NPC

Reputation: 869

Apache https proxy without SSL certificate

How can I set up proxy which listens on https and proxies the requests to other server on https without setting up SSL certificate on Apache for inbound https requests?

I just need to proxy the request over https connection.

Upvotes: 4

Views: 5454

Answers (1)

PaulProgrammer
PaulProgrammer

Reputation: 17630

If you don't have the SSL certificate in question on your apache box, it will be very difficult to set up proxying. The site configurations usually rely on the Host header and the URI path, which you won't have if you can't unwrap SSL.

Instead, if all SSL traffic is to be forwarded unconditionally, you might consider a TCP proxy instead of an application proxy.

There are several ways of setting this up, and it will vary depending on your chosen platform. If you're running on Linux, you can easily set up an iptables rule to forward requests to 443 to some remote host.

Upvotes: 2

Related Questions