LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-22-2007, 09:12 AM   #1
rockmanchile
LQ Newbie
 
Registered: May 2007
Distribution: DEBIAN ETCH
Posts: 3

Rep: Reputation: 0
Help using SSL tunnel


Hi again.

Can you have multiple sites with SSL certificates over a single webserver an just one WAN IP ?

The thing is that we have an IIS server (Microsoft) with a lot of websites but we cannot give more than one SSL per WAN IP. That means that no matter how much sites we have with SSL on the webserver, from outside always opens the first one that found and leave the other ones without access (Every time that we try to put https:// with any of the sites that are at that moment on the server with SSL certificates, it takes us to a same website)

We try to give virtual IP`s to each website and give each one of them a certificate but the problem goes on. Im not very sure, but i think i read once that it can only be one SSL certificate per WAN IP.
Its thats true, it means that i should have one certificate for each WAN IP (200.1.2.3 ==> SSL1, 200.1.2.4 ==> SSL 2, etc...) wich i think its not a very good idea.

We also try to give each site a diferent SSL port and for a time it works fine. The only problem was that the users must put the number of the port after the name of the site (example : https://www.myproblem.com:444) and with many users working behind firewalls outside the company, they couldnt reach the sites because their network administrator only allow SSL trafic on the standar 443 port.

I was thinking in use Apache to redirect some of the sites , but im still have a lots of doubts of how to use it.

Do i need more tools to do this or do you know a better way to do it ?

Thanks

Rockmanchile

Last edited by rockmanchile; 05-22-2007 at 09:21 AM.
 
Old 05-22-2007, 12:18 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Commonly in such a shared environment, all websites do indeed direct their SSL to the same host, and use the same certificate. The way this is done is to give each website its own subdirectory in the SSL environment, and the webmasters point their secure components at this subdirectory. On Apache, the webmasters may do this by either a direct link or by doing a rewrite using .htaccess. The rewrite has the advantage of not exposing the location of the subdirectory to the user in their browser; instead they put in https://yoursecuredomain.com/desiredpage and apache reroutes it to https://sharedsecureserver/yoursubdirectory/desiredpage.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating an SSL page under non SSL site with apache1.33? taiwf Linux - Software 1 06-27-2006 01:06 AM
SSL Connections / second and SSL Accelerator Cards on Linux LinuxGeek Linux - Networking 0 06-10-2006 08:18 AM
SSL Tunnel Squid engnet Linux - Security 1 02-21-2006 07:02 AM
SSL tunnel with transparent proxy daviddst Linux - Security 1 09-04-2004 03:22 PM
Mozilla 1.4 HTTPS SSL Tunnel Proxy Problem Ynog Linux - Software 0 07-30-2003 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration