Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

can Apache proxy convert a HTTP request to HTTPS and proxy it to a HTTPS Server?

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


xieq_49 at yahoo

Nov 16, 2007, 11:14 AM

Post #1 of 2 (223 views)
Permalink
can Apache proxy convert a HTTP request to HTTPS and proxy it to a HTTPS Server?

Hello,

There is a need that an Apache server converts a HTTP request to HTTPS, and proxies it to the backend HTTPS server. Can an Apache instance do it?

Many Thanks,
Q.Xie




____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


krist.vanbesien at gmail

Nov 16, 2007, 12:52 PM

Post #2 of 2 (209 views)
Permalink
Re: can Apache proxy convert a HTTP request to HTTPS and proxy it to a HTTPS Server? [In reply to]

On Nov 16, 2007 8:14 PM, Qingshan Xie <xieq_49[at]yahoo.com> wrote:
> Hello,
>
> There is a need that an Apache server converts a HTTP request to HTTPS, and proxies it to the backend HTTPS server. Can an Apache instance do it?

Yes Apache can do this. However not "out of the box".
See:

http://httpd.apache.org/docs/2.0/mod/mod_ssl.html#sslproxyengine

For example add the following to your config:

SSLProxyEngine on
SSLProxyMachineCertificatePath /usr/local/apache2/conf/proxy.crt/

You can of course use another path, but it must contain the PEM
encoded root certificate used to sign the certificates the servers you
want to communicate with use. These you will have to provide yourself.

Once you have that you ought to be possible to do something like this:

ProxyPass /mysite https://www.myothersite.com/foo

HTH,

Krist


--
krist.vanbesien[at]gmail.com
krist[at]vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.