Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: apache with ssl |
|
Author |
|
faithless
Joined: 01 Jun 2006 Posts: 5
|
Posted: Tue 20 Jun '06 9:25 Post subject: apache with ssl |
|
|
hello,
I have a question about the way to have an SSL certificate on reverse proxy which redirects connections to two different servers (a web server and a webmail) that both will be using SSL encryption. I would like to know first if i can do that with the reverse proxy. I would like to know secondly if I can use one certificate or do I have to get two certificates one for each end server.
Thank you, |
|
Back to top |
|
ildjarn
Joined: 22 Dec 2005 Posts: 5
|
Posted: Tue 20 Jun '06 11:38 Post subject: Re: apache with ssl |
|
|
faithless wrote: | hello,
I have a question about the way to have an SSL certificate on reverse proxy which redirects connections to two different servers (a web server and a webmail) that both will be using SSL encryption. I would like to know first if i can do that with the reverse proxy. I would like to know secondly if I can use one certificate or do I have to get two certificates one for each end server.
Thank you, |
Yes, you can do this with Apache 2.x:
SSLProxyEngine on
ProxyPass / https://internal.server/
ProxyPassReverse / https://internal.server/
The internal servers don't need official, CN-correct certificates, so you could use either self-generated certificates or use the certificate from the reverse proxy. |
|
Back to top |
|
faithless
Joined: 01 Jun 2006 Posts: 5
|
Posted: Tue 20 Jun '06 13:49 Post subject: |
|
|
so i only have to get one certificate for the two different web applications ?
is there a "best practice" for doing that ?
Thanks, |
|
Back to top |
|
|
|
|
|
|