openresty / openresty/lua-resty-core

ngx.var.ssl_ciphers in ssl_certificate_by_lua

Open
#367 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
853
Forks
286
Avg merge
35m
Merged PRs (30d)
1

Description

Trying to access this variable in ssl_certificate_by_lua causes "API disabled in the current context".
I know some work is beeing done on client_hello_by_lua, but would it be possible to expose this
variable in cert_by?

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 tracing how ngx.var.ssl_ciphers is exposed and why it reports "API disabled in the current context" from ssl_certificate_by_lua. Review the related client_hello_by_lua work, then determine whether the variable can be made available in cert_by and verify access in that phase.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.