openresty / openresty/lua-nginx-module

Is it necessary to add an associated CRL to 'lua_ssl_crl' when I add a new CA certificate to 'lua_ssl_trusted_certificate'

Open
#2,373 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.8k
Forks
2.1k
Avg merge
6h 1m
Merged PRs (30d)
6

Description

OpenResty version: 1.21.4.1

I currently combine several CA certificates and set it as 'lua_ssl_trusted_certificate', it works when I make https requests with different CA certificates. Now I try to add a parameter 'lua_ssl_crl' to enable crl certification, it seems that crl file can also be combined to one file, but when I try to make a https requests with CA certificate in 'lua_ssl_trusted_certificate' and CRL file not in 'lua_ssl_crl', nginx would report '3: unable to get certificate CRL', whereas a https requests with CA certificate in 'lua_ssl_trusted_certificate' and CRL file in 'lua_ssl_crl' would report '23: certificate revoked' (which is what I expect). My question is, is it necessary to add an associated CRL to 'lua_ssl_crl' when I add a new CA certificate to 'lua_ssl_trusted_certificate'?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported HTTPS requests with OpenResty 1.21.4.1, using combined CA certificates and CRL files as described. Compare the resulting errors "unable to get certificate CRL" and "certificate revoked" to determine whether each trusted CA requires an associated CRL; document the confirmed behavior or identify the relevant fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, nginx
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.