[Resolved] Litespeed & Apache SSL

Status
Not open for further replies.

innovot

Well-Known Member
#1
How does one configure this please ? My instance just says:
Code:
2014-10-12 14:58:11.143ERROR[/etc/httpd/conf.d/sslwebsite.conf:1] Listener for *:443 is not available
Thanks.
 
Last edited by a moderator:

innovot

Well-Known Member
#3
Thanks, and I have gotten a little further. We are trying to use SNI and have setup a file called ssl.conf containing:

Code:
LoadModule ssl_module modules/mod_ssl.so
Listen 192.168.1.100:443
NameVirtualHost *:443
and then in each of the SSL enabled configuration files we have:

Code:
<VirtualHost *:443>
ServerName testsslsite.domain.com
...
the first site loads fine, in alphabetical order, but the second one always returns a 404 errror. And interestingly the associated log file for the second site does not show any errors or connections.

Is there anything special in LSWS for enabling SNI ?
 
Last edited by a moderator:

mistwang

LiteSpeed Staff
#4
The configuration need to be consistent with Listen and <VirtualHost ...> use *:443 or 192.168.1.100:443 for both.
You should make Apache work properly first then try LiteSpeed.
 

innovot

Well-Known Member
#5
Most helpful! Already have:
Code:
Listem *:80
NameVirtualHost *:80

Listen *:443
NameVirtualHost *:443

<VirtualHost *:443>
  ServerName testsite.domain.com
  DocumentRoot www/testsite.domain.com

 <Directory /www/testsite.domain.com>
     Options Indexes FollowSymLinks MultiViews
     AllowOverride All
     Order allow,deny
     Allow from all
  </Directory>

  SSLEngine on
  SSLCertificateFile /www/testsite.domain.com/certs/testsite.domain.com.pem
  SSLCertificateKeyFile /www/testsite.domain.com/private/testsite.domain.com.key
</VirtualHost>
so if you would happy to have a working configuration, that you have tested for SNI, it would be most grateful to myself and hopefully others to see where we have gone wrong.

Thank you.
 
Last edited by a moderator:
Status
Not open for further replies.
Top