On Wed, Jun 15, 2022 at 11:33:27PM +1000, Philip Young wrote: > Hi > I am currently writing a LUA module to make authorisation decisions on > whether a request is allowed, by calling out to another service to make the > authorisation decision. > In the Lua module, I am using Socket.connect_ssl() to connect to the > authorisation service but I am struggling to work out how to set the path to > the certificate I want to use to connect to the authorisation service. > Does anybody know how to set the path to the certificate that is used when > using Socket.connect_ssl() > Is it possible to do this using the httpclient? > I have tried asking the Slack chat channel and on the commercial site but no > one knows. > > Cheers Phil
Hello Phil, Unfortunately the Socket and the HTTPClient lua class are not able to use a client certificate right now. This should evolve in the future but the current architecture is not able to do it. -- William Lallemand