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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [Solved] SSL configuration

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2011, 11:44 AM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
Default [Solved] SSL configuration

Do I need to put my SSL info in both the listener and the virtual host?

Do I have to have two IP's for SSL on the server?
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #2  
Old 08-03-2011, 12:02 PM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
Default SSL not listening after turning on Sercure

My SSL won't start after I turn on secure, it will listen if I don't click secure
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #3  
Old 08-03-2011, 12:06 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
SNI is supported by LSWS. You can configure listener with a default SSL cert and put a real cert for the vhost. One IP should be enough.
Reply With Quote
  #4  
Old 08-03-2011, 12:09 PM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
ok I added my ssl info to both my listener and my virtual but I can not get it to start if it is set to secure
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #5  
Old 08-03-2011, 12:36 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
For testing, do not bind vhost to the listener. make sure SSL info such as path to the key and cert is correct and SSL port is not occupied by other service.
Reply With Quote
  #6  
Old 08-04-2011, 05:33 AM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
I have this as my chained cert path

CA Certificate Path: /etc/ssl/certs/
CA Certificate File: xxxx.com.cabundle

but it is giving me this error:

[config:vhost:Admin] Path for CA Certificate file is invalid: /home/xxxxx/public_html/xxxx.com.cabundle
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #7  
Old 08-04-2011, 05:44 AM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
Ok I followed the WIKI here http://www.litespeedtech.com/support...l_cert_install

I get this error on restart

Error xxxx_secure xx.xx.xx.xx:443 N/A

Running xxxx_main *:80
[Admin xxxx] *.xxxx.com
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
Reply With Quote
  #8  
Old 08-04-2011, 10:09 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Looks like cert isn't loaded. Did you create the chained cert as follows? Make sure lsadm has read permission to the cert directory and file.

Quote:
Another way is to create a chained certificate, set “Certificate File” to the path of “chained.cert”, “Chained Certificate” should be set to “Yes”. To create the chained certificate, you can concat your certificate file together with the intermediate certificate with a command like:

cat my.cert ca.cert > chained.cert
Reply With Quote
  #9  
Old 08-04-2011, 10:20 AM
Brent W Peterson Brent W Peterson is offline
Senior Member
 
Join Date: Apr 2010
Posts: 109
I got it, I removed the chained cert and it worked.
__________________
Brent W Peterson
Twitter me - http://twitter.com/#!/brentwpeterson
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


All times are GMT -7. The time now is 11:56 PM.



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