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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > Client Side Certificates Again

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2007, 11:28 AM
cyberluk cyberluk is offline
New Member
 
Join Date: Sep 2007
Posts: 2
Default Client Side Certificates Again

Hi!
Is there any chance for such functionality in near feature? I would like to use LiteSpeed Server or Load Balancer as a SSL accelerator and proxy, in front of Sun Java System Application Server, but I need client side certificates.

Regards,
Lukasz Walkowski
Reply With Quote
  #2  
Old 09-17-2007, 11:04 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
We could provide a simple client authentication feature in 3.3 if a feature like "SSLRequire" in Apache mod_ssl is not required. "SSLCARevocationPath" may not be available as well.

Basic client authentication is easy to add, but "SSLRequire" and "Revocation" feature are not easy to implement.

Is basic client authentication exactly what you need now?
Reply With Quote
  #3  
Old 09-19-2007, 08:19 AM
sofatime sofatime is offline
Senior Member
 
Join Date: Jul 2006
Location: Switzerland
Posts: 64
SSLRequire would be a feature request from my side too. I am currently migrating a lsws installation to Apache because the client wants client side certificates.

Edit: Sorry, I meant "SSLVerifyClient require". What do you mean by "basic client authentication"?
Revocation is not needed in our case.

Last edited by sofatime; 09-19-2007 at 08:21 AM..
Reply With Quote
  #4  
Old 09-19-2007, 08:51 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Apache "SSLRequire" feature is a comprehensive SSL client certificate filtering feature.
After some research about revocation, it could be handle by OpenSSL internally, so there should not be big deal to add that as well.

We may provide client SSL authentication feature in our 3.3 release soon.
Reply With Quote
  #5  
Old 09-19-2007, 09:08 AM
sofatime sofatime is offline
Senior Member
 
Join Date: Jul 2006
Location: Switzerland
Posts: 64
That would be cool.
Reply With Quote
  #6  
Old 09-20-2007, 05:54 AM
sofatime sofatime is offline
Senior Member
 
Join Date: Jul 2006
Location: Switzerland
Posts: 64
This is what I would need:

SSLVerifyClient
SSLVerifyDepth
SSLCACertificateFile

I have moved the mentioned installation to Apache, but I already miss lsws and I would love to move it back...

And then I would also need the variables in PHP like:
_SERVER["SSL_CLIENT_VERIFY"]

Last edited by sofatime; 09-20-2007 at 06:04 AM..
Reply With Quote
  #7  
Old 09-24-2007, 02:13 AM
cyberluk cyberluk is offline
New Member
 
Join Date: Sep 2007
Posts: 2
Hi,
As sofatime wrote, I would need this options:

SSLVerifyClient
SSLVerifyDepth
SSLCACertificateFile

Basic Client Authentication would be enabled on Sun App Server. It's because I need user login inside servlets and webeservices to check roles and privileges.
Reply With Quote
  #8  
Old 09-24-2007, 10:08 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It will be available in the upcoming 3.3 release.
Reply With Quote
  #9  
Old 12-09-2007, 06:18 PM
jnrey jnrey is offline
Member
 
Join Date: Aug 2007
Posts: 17
Default error code -12227

Hi Mistwang. Do you have any basic example on how to use SSLRequire with Litespeed ? Can it be included under Rewrite Rules or is a .htaccess file necessary ? I can't get it to work with my certificates although everything was configured by the book. Am getting error code -12227 (handshake) when activating Client Verification.

Many thanks.
Reply With Quote
  #10  
Old 12-09-2007, 06:48 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You need to bind the listener to only one process due the SSL session cache.
You need to set either 'CA Certificate Path' or 'CA Certificate File' to make the CA used to signed the client certificate available.
"Client Verification" should be set to "required"
"Verify Depth" to 1 or higher.
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 04:11 PM.



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