Nicholas Humfrey
April 27, 2017 04:08PM
Thank you for your speedy reply.

Sorry, I had failed to find these threads while researching the problem.

nick.



On 2017-04-27 16:32, Jyrno Ader wrote:
> Seems to me that the current stance is that this won't be added. See
>
> -
> http://mailman.nginx.org/pipermail/nginx-devel/2017-March/009599.html
> -
> http://mailman.nginx.org/pipermail/nginx-devel/2017-April/009784.html
>
> Lugupidamisega,
> Jürno Ader
> 2017-04-27 18:18 GMT+03:00 Nicholas Humfrey <njh@aelius.com>:
>
>> Hi,
>>
>> I was having trouble getting CRL checks working for client
>> certificates and it turns out that the problem is because nginx
>> checks CRLs for all levels of the certificate hierarchy, but the CA
>> I am using does not publish CRLs for intermediate certificates.
>>
>> It is not uncommon for the private key of the root CA certificate to
>> be locked-away offline in a safe, to prevent any other intermediate
>> certificates from being issued. However this means that CRLs cannot
>> be generated for the intermediate certificates, only the leaf
>> certificates. Hence only the leaf certificates can be CRL checked.
>>
>> The solution to this is very simple; just set X509_V_FLAG_CRL_CHECK
>> in OpenSSL without the X509_V_FLAG_CRL_CHECK_ALL flag.
>>
>> Would you accept a patch that adds a new configuration option to
>> nginx to control this?
>>
>> I was thinking the option might look like:
>>
>> ssl_crl_check leaf; # Only check if leaf certificates have been
>> revoked
>> ssl_crl_check all; # Check the whole chain for revoked
>> certificates
>>
>> The default behaviour would continue to be to check the whole chain.
>>
>> Thanks,
>>
>> nick.
>>
>> _______________________________________________
>> nginx-devel mailing list
>> nginx-devel@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx-devel [1]
>
>

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

Adding an option to only perform CRL checks for leaf nodes

Nicholas Humfrey 603 April 27, 2017 11:20AM

Re: Adding an option to only perform CRL checks for leaf nodes

Jyrno Ader 224 April 27, 2017 11:34AM

Re: Adding an option to only perform CRL checks for leaf nodes

Nicholas Humfrey 313 April 27, 2017 04:08PM

Re: Adding an option to only perform CRL checks for leaf nodes

Maxim Dounin 222 April 27, 2017 12:44PM



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

Online Users

Guests: 275
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