LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Problem for setup SSL

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2005, 07:11 AM
superbarre.com superbarre.com is offline
Member
 
Join Date: Jan 2005
Posts: 15
Default Problem for setup SSL

Hello, just updated to RC5, very nice version. i love the VH template.

I Wish it should be great that the program created home directory when we add a new user.

Even better i wish, when it created the directory, that it lunch a script (we could give the path), then with this script we could create others services on the servers, the user, the pass, the mail, ftp...

it would be great to have something like

Before Creating Script : /give/a/path (with into parameters, info we gaved, virtual host name, domains, alias...)

After Created Script : /give/another/path



So i ve modified like i wanted the CentralConfigLog in VH templates, and add in my virtual host super-barre.com

So for the SSL,

i ve created a listeners called "Secure" with port 443, secure, and the same ip than i use on port 80 listener and virtual host mapping "Exemple" => super-barre.com

Into the SSL tag

Cert File $SERVER_ROOT/conf/new.cert.cert
Key File $SERVER_ROOT/conf/new.cert.key

I ve created the cert and the key.

and selected ssl 2 and 3, and High medium Low.

Then i apply changes with a lsws restart.

But Secure Listeners do not lunch, and in my log i have

2005-01-20 14:57:26.198 ERROR [config:server:listener:Secure] missing <address> in <listener>


So i ve search a lot where i have miss an adress, but i don't find.


Can you help me please ?


Another things, How change the SSL defaut home directory ? And even if i can't change it, where i could find it ?
__________________
Admin of http://www.super-barre.com
Reply With Quote
  #2  
Old 01-20-2005, 02:55 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Thank you for the suggestion, we probably will add script to create a user account, copy a template directory to new user's home directory, but you still need to take care of the rest yourself.
Yes, we can add an option like what you suggested to execute a script.
Have no plan for a full featured web hosting control panel yet, instead, we plan to improve LSWS' compatibility will Apache, and eventually make LSWS compatible with existing control panels. :-)

The SSL listener problem has been addressed, please download again.

Thanks,
George
Reply With Quote
  #3  
Old 01-21-2005, 12:00 AM
superbarre.com superbarre.com is offline
Member
 
Join Date: Jan 2005
Posts: 15
Nice i will download it and test.

The best of all it will be than lsws have an httpd.conf compatible configuration file, i mean...

Keep your xml config, just in more, and lunch the lsws server, or reload, make a small program to convert a httpd.conf into your XML format, and it will be nice.

Just type : /etc/init.d/ldws start => Conversion of httpd.conf into your XML => Start the lsws server.


Hop

Thanks you for your reactivity.
__________________
Admin of http://www.super-barre.com
Reply With Quote
  #4  
Old 01-21-2005, 01:37 AM
superbarre.com superbarre.com is offline
Member
 
Join Date: Jan 2005
Posts: 15
Default Just tested

Hi,

So ive installed the new version, SSL seem to lunch ok. and well listen on 443 port on my ips.


its accept ssl, i ve the certificate, all is good

BUT

in Serveur status i have

Default *:80 Running [Example] *
[super-barre.com] super-barre.com *.super-barre.com superbarre.com super-barre.org super-barre.net

Secure *:443 Running [Example] *




super-barre.com is an virtual host than i ve created into the VH templates BEFORE setup the secure listener.

And its looks ssl doesn't apply to this virtual host.


So i ve deleted the virtualhost super-barre.com into the VH template system, and recreated it, but still look not to apply to my domain

Default *:80 Running [Example] *
[super-barre.com] super-barre.com *.super-barre.com superbarre.com super-barre.org super-barre.net

Secure *:443 Running [Example] *






ANOTHER THINGS


in the VH Template System (tag general)

we have

Virtual Host Root => $SERVER_ROOT/$VH_NAME/
Document Root => $VH_ROOT/html/


But there is a way to add something like

SSL Document Root => $VH_ROOT/secure/


Because SSL point to same directory, and its HARD to differances the 2 ports.

Others system does like that (Direct Admin for exemple redirect http => public_html and https => private_html)
__________________
Admin of http://www.super-barre.com
Reply With Quote
  #5  
Old 01-21-2005, 09:24 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
To archive what exactly you want, you should create a new template similiar to the existing one by pointing VHROOT to secure/, and assign SSL listener to the new template. Make sure not to let two templates point to the same template file, make a copy.

As to the SSL binding issue, you probably did not add SSL listener to template listener binding list.
Reply With Quote
  #6  
Old 01-21-2005, 09:29 AM
superbarre.com superbarre.com is offline
Member
 
Join Date: Jan 2005
Posts: 15
I cannot add it because the virtual host is into the centralConfigLog template, And when going to

Listeners => Secure => Virtual Host Mapping => Add

in Virtual Host i ve only "Exemple"
then in Domains i ve put "*"


When adding the super-barre.com host into the VH template system, it add mapping to the Default listeners but not to the secure liscener

See my Server Status

Listeners

Name Address Status Virtual Host Mappings
Default *:80 Running [Example] *
[super-barre.com] super-barre.com *.super-barre.com superbarre.com super-barre.org super-barre.net

Secure *:443 Running [Example] *
__________________
Admin of http://www.super-barre.com
Reply With Quote
  #7  
Old 01-21-2005, 09:36 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
There is a "Mapped Listeners" configuration in "Template Location" configuration.
Reply With Quote
  #8  
Old 01-21-2005, 09:39 AM
superbarre.com superbarre.com is offline
Member
 
Join Date: Jan 2005
Posts: 15
Oh ok, its what i missed

Thanks
__________________
Admin of http://www.super-barre.com
Reply With Quote
  #9  
Old 01-21-2005, 09:53 AM
superbarre.com superbarre.com is offline
Member
 
Join Date: Jan 2005
Posts: 15
So for dissociated the html home directory and the https home directory

i ve copy

$SERVER_ROOT/conf/templates/ccl.xml
into
$SERVER_ROOT/conf/templates/securetemplate.xml


Then created a new template by the admin, Called it "SecureTemplate" which it use the template file
$SERVER_ROOT/conf/templates/securetemplate.xml
and mapped to the listeners : Secure
and in General :

Document Root $VH_ROOT/private_html/

Then i ve add my host 'super-barre.com'

Then restart server

But in log i ve

2005-01-21 17:48:07.556 INFO [config:template:SecureTemplate] Virtual host super-barre.com already exists, skip template configuration

so it cannot exist 2 hosts with same name and has the name play in home directory

$SERVER_ROOT/$VH_NAME/

(and its impossible to modify with parametre, Vh_NAME must be here)



So all i can have its

Server_root/super-barre.com (http)
Server_root/ssl-super-barre.com (https)

But i should have

Server_root/super-barre.com/html/
Server_root/super-barre.com/private_html/



But its not very problematic. i will just have 2 directory, i will make the symbolic links

Server_root/super-barre.com/private_html > Server_root/ssl-super-barre.com


Thanks for your help
__________________
Admin of http://www.super-barre.com
Reply With Quote
  #10  
Old 01-21-2005, 10:01 AM
superbarre.com superbarre.com is offline
Member
 
Join Date: Jan 2005
Posts: 15
Finally its works like i said,

but very heavy to setup, its would be fine in future release to simply have 2 home variables, one for http, and one for ssl

and we will can be dissociated it or lead them to same path
__________________
Admin of http://www.super-barre.com
Reply With Quote
Reply

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
Timeout Problem bkonia Install/Configuration 2 12-20-2008 12:00 PM
Problem running Gallery under LiteSpeed kchrist PHP 4 10-01-2006 02:53 PM
.htaccess problem xinn Install/Configuration 1 12-07-2005 12:01 PM
problem with php/lsws restart ts77 Install/Configuration 4 06-27-2005 10:23 PM
problem with XML Pawelek Bug Reports 1 12-11-2004 07:46 PM


All times are GMT -7. The time now is 01:45 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.