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'
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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