#1  
Old 12th June 2006, 19:56
DaddyFix DaddyFix is offline
Member
 
Join Date: Jan 2006
Location: Canada
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post
Cool Virtual Hosts SSL 443

First, Im sorry for asking about Virtual Hosts SSL help. I see many people have been having similar issues setting this up, but I can' seem to find the imformation I need. Could you please direct me to offer some advice to this issue?

Originally I used to put my Client SSL information into the VHosts.conf file. All client share the same Certificate Key. Her is a simplified example...
Code:
NameVirtualHost 192.168.1.100:80
NameVirtualHost 192.168.1.100:443
<VirtualHost 192.168.1.100:80>
        Servername somedomain.ca
        Redirect permanent / http://www.somedomain.ca
</VirtualHost>
<VirtualHost 192.168.1.100:443>
        Servername somedomain.ca
        Redirect permanent / http://www.somedomain.ca
        SSLEngine on
        SSLCertificateFile \
            /usr/local/ssl/install/openssl/certs/http://www.example.com.cert
        SSLCertificateKeyFile \
            /usr/loca/ssl/install/openssl/certs/http://www.example.com.key
</VirtualHost>
But now I see that Vhosts_ispconfig.conf only uses 'NameVirtualHost 192.168.1.100:80'. Hmmm. How do I enable a client to use the same SSL certificate for all the sites I host?

I tried to use the SSL option in the client setup of ISPConfig but I get the error ' Already a Cettificate for this IP '. Which I understand why this happens.

when I try to use https://mydomain.ca I get the request for the SSL and I get an answer from Apache v2.53 that tells me there is no virtual host entry on 443 for this client.
Code:
You don't have permission to access / on this server.
Am I doing something wrong here?

PS. I love ISPConfig..
Reply With Quote
Sponsored Links
  #2  
Old 12th June 2006, 21:32
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,415
Thanks: 812
Thanked 5,204 Times in 4,080 Posts
Default

ISPConfig only supports one SSL website per IP, this is is an apache limit and not an limit of ISPConfig.

To create an SSL website, check the SSL checkbox in the website settings of the site and then create an SSL certificate on the SSL TAB. ISPConfig rewrites the vhost configuration for you to enable SSL for this website.

If you need an other setup that does not use SSL virtual hosts, you can not use ISPConfig to configure it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th June 2006, 22:39
Sheridan Sheridan is offline
Junior Member
 
Join Date: Jun 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you sure?
I always thought that one certificate for multiple vhosts shouldn't be a problem.
I know that it's not possible to have multiple ssl cerificates for one ip but the ssl part is just over when apache has to get the right vhost.

greets
Sheridan

Last edited by Sheridan; 12th June 2006 at 22:43.
Reply With Quote
  #4  
Old 13th June 2006, 10:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

A wildcard certificate is no problem, but you cannot use multiple certs on one IP address.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 13th June 2006, 11:15
Sheridan Sheridan is offline
Junior Member
 
Join Date: Jun 2006
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
A wildcard certificate is no problem, but you cannot use multiple certs on one IP address.
Yep. I know, but ispconfig doesn't create a VirtualHost entry for the ssl part of the Vhostconfig file for the other domains on my server.
If i try to enable ssl for the other domain he tells me that an ssl certificate still exists for this ip. That's ok, but i simply want to use the existing one for this domain too.

greets & thanks
Sheridan
Reply With Quote
  #6  
Old 13th June 2006, 11:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

That's not possible with ISPConfig. You can try to tweak the main Apache configuration file as it's not overwritten by ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom directives automatically added to ftpd virtual hosts whitty Feature Requests 2 16th May 2006 23:15
apache and virtual hosts stored in postgresql variable Server Operation 3 28th December 2005 11:48
Duplicate virtual hosts bosei General 13 22nd December 2005 17:48
Max Virtual Hosts on a server badben Server Operation 2 21st November 2005 12:35
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 13:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.