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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Chained SSL Certificates ?

Reply
 
Thread Tools Display Modes
  #1  
Old 07-10-2005, 12:04 PM
ktippetts ktippetts is offline
New Member
 
Join Date: Jul 2005
Posts: 3
Default Chained SSL Certificates ?

I have looked through the docs and searched the forum and there doesn't seem to be any documentation on configuring Chained SSL Certificates. I have tried adding the chain cert and my cert together in the same file to no avail. This is on 2.1RC1
Reply With Quote
  #2  
Old 07-11-2005, 11:39 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Thank you for your feedback.

Chained Certificate support has been added to 2.1RC2, it will be released soon.

George Wang
Reply With Quote
  #3  
Old 07-26-2005, 10:01 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Chained Certificate should be supported by 2.1RC2 now, please try.
Reply With Quote
  #4  
Old 07-26-2005, 09:12 PM
ktippetts ktippetts is offline
New Member
 
Join Date: Jul 2005
Posts: 3
This works great, thank you!
Reply With Quote
  #5  
Old 08-24-2005, 05:50 PM
SyNeo SyNeo is offline
Senior Member
 
Join Date: Dec 2004
Posts: 59
Hi.

I have a question regarding the chained certificates, and perhaps an issue to report.

I have 3 files in total, the server certificate, the server key, and the certificate authority certificate. Apache has a setting named "SSLCertificateChainFile" that allows to specify a path to the CA certificate, but lshttpd allows only to set the "Chained Certificate" to Yes. The question is, how lshttpd manages to chain the certificates, without the path to the chain certificate?

Now the issue, is related to the question I believe. Sometimes, I'm getting a warning "The certificate is expired or not valid yet", and when I'm checking in the "certification path", I can see that the middle certificate (there are 3), is noted by an X. When I view his details, I can see that it is valud from 1997-2004 - a year ago. A refresh of the page resolves the matter, but it eventually repeats.

I'm using LSHTTP 2.1RC2, and Verisign SSL certificates.

Thank!
Reply With Quote
  #6  
Old 08-24-2005, 08:17 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
We use SSL_CTX_use_certificate_chain_file() function in openssl to load the chained certificate. below is the descript of this function from openssl document.

Quote:
SSL_CTX_use_certificate_chain_file() loads a certificate chain from file into ctx. The certificates must be in PEM format and must be sorted starting with the subject's certificate (actual client or server certificate), followed by intermediate CA certificates if applicable, and ending at the highest level (root) CA. There is no corresponding function working on a single SSL object.
So, I think you need to merge your server certificate with the CA certificates to one file if you had not done so yet.
Reply With Quote
  #7  
Old 08-25-2005, 02:19 AM
SyNeo SyNeo is offline
Senior Member
 
Join Date: Dec 2004
Posts: 59
Hi.

Thanks for the explanation!

It was a simple matter of "cat server.crt ca.crt > chained.crt".
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
No certificates in /etc/ allowed? andreas Install/Configuration 2 09-06-2006 11:26 AM
https connection errors/chained certificates issue SyNeo Install/Configuration 14 09-01-2005 08:35 AM
Client Side Certificates bogus Feedback/Feature Requests 3 03-26-2004 10:00 AM


All times are GMT -7. The time now is 06:33 PM.



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