Hello all,
I have written a mtls-plugin that I’d like to test with pongo.
I have 2 issues.
Considering I have a project dir in which my code but also my testfiles reside and a pongo dir where pongo.sh resides.
- I am failing to mount the certificate files through config in my project dir. At the moment I was mounting them from the pongo dir and by specifying them in the kong.yml which I don’t want to do as I don’t want to alter the pongo dir at all. So I would like to know how to mount these files from my ‘plugin’ project dir.
- In the testcode I have been trying to provide key and cert files by using proxy_ssl_client, proxy_client, … Then when going through the helpers.lua file, which seems to be the right way to go is calling the connect function first and then using proxy_ssl_client? I have tried quite some things already but I always face some kind of issue, mostly the same, stating “client cert not provided”.
Has anyone experience with this? I have gone through the plugin tests in this repo as well but couldn’t find a usefil example in here.
All help is appreciated.
Thanks a lot!
Greetings,
Hamid K.