February 10, 2011 11:10AM
On Feb 10, 2011, at 19:03 , Matthias-Christian Ott wrote:

> On Thu, Feb 10, 2011 at 06:56:50PM +0300, Igor Sysoev wrote:
>> On Thu, Feb 10, 2011 at 04:36:03PM +0100, Matthias-Christian Ott wrote:
>>> On Thu, Feb 10, 2011 at 06:24:31PM +0300, Igor Sysoev wrote:
>>>> On Feb 10, 2011, at 18:04 , Matthias-Christian Ott wrote:
>>>>>
>>>>> What I mean was the following
>>>>>
>>>>> server {
>>>>> location /a {
>>>>> ssl_client_certificate a/ca.pem;
>>>>> ssl_crl a/a.crl;
>>>>> }
>>>>>
>>>>> location /b {
>>>>> ssl_client_certificate b/ca.pem;
>>>>> ssl_crl a/a.crl;
>>>>> }
>>>>> }
>>>>>
>>>>> As far as I can tell from the documentation, both Apache and lighttpd
>>>>> seems to support this.
>>>>
>>>> It requires SSL re-handshake and nginx currently does not support it.
>>>
>>> I'm not familiar with SSL, but from what I read in overviews, the client
>>> presents the client certificate to the server, so the server could check
>>> the certificate against multiple CAs without a re-handshake, right?
>>
>> A client can present a certificate only at SSL handshake phase.
>> If on the first handshake the server did not ask the certificate,
>> it must do re-handshake.
>
> Can't the client itself present to the server, so that the server
> doesn't have to ask?

http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslverifyclient

In per-server context it applies to the client authentication process
used in the standard SSL handshake when a connection is established.
In per-directory context it forces a SSL renegotation with the
reconfigured client verification level after the HTTP request was read
but before the HTTP response is sent.


--
Igor Sysoev
http://sysoev.ru/en/


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

SSL client verification context

Matthias-Christian Ott 7611 February 10, 2011 02:38AM

Re: SSL client verification context

Igor Sysoev 4468 February 10, 2011 08:22AM

Re: SSL client verification context

Matthias-Christian Ott 2673 February 10, 2011 10:06AM

Re: SSL client verification context

Igor Sysoev 4015 February 10, 2011 10:26AM

Re: SSL client verification context

Matthias-Christian Ott 2584 February 10, 2011 10:38AM

Re: SSL client verification context

Igor Sysoev 2658 February 10, 2011 10:58AM

Re: SSL client verification context

Matthias-Christian Ott 2407 February 10, 2011 11:04AM

Re: SSL client verification context

Igor Sysoev 3934 February 10, 2011 11:10AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready