We have HTTPS test server with a self-signed SSL certificate. Is there any reverse proxy that will enable us to visit the page in HTTP, so our program can send HTTP request and not an HTTPS request??
|
feedback
|
|
You can do it with apache. First, you need to load the proxy, proxy_http and proxy_html modules. Then you need a certificate and a key for the proxy (a self-signed certificate will do). Put these together into a .pem file (so that the file will contain both the key and the certificate). It is needed only to initiate an SSL connection to the test server. Then, you need a proxy setting like this:
Of course you don't need a VirtualHost for this, you can embed the ProxyPass* and the SSLProxy* directives to any other host definition. | |||
|
feedback
|
|
If your test server has HTTP enabled you can simply proxy to that protocol (assuming apache and mod_rewrite):
If there's nothing listening on the unencrypted HTTP port you can't just strip the SSL away. | |||
|
feedback
|
| |||
|
feedback
|