Hi,
I’m currently developing a custom plugin for Kong using Lua. I’m trying to use OpenSSL’s aes-256-cbc cipher in my module, but I’m encountering an error: attempt to index field 'cipher' (a nil value)
.
Here’s how I’m defining the cipher in my module:
local cipher = require("openssl").cipher.get("aes-256-cbc")
I’ve confirmed that OpenSSL is installed in my Kong environment using pongo shell
. Could this be a configuration issue within Kong or Pongo? Do I need to add any specific configurations to enable the use of OpenSSL ciphers in custom plugins?
Any guidance would be greatly appreciated!