apache / apache/apisix-go-plugin-runner

request help: How to get the cert and cacert from the plugin request

Open
#147 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
198
Forks
68
PR merge metrics
No merged PRs in 30d

Description

### Issue description
It seems we can't get the certs, `curl --cert file1.crt --cacert file2.crt`, from the [request](https://pkg.go.dev/github.com/apache/apisix-go-plugin-runner@v0.5.0/pkg/http#Request) of the default plugin.

In this case, we can only load the cert content in the header, which is not convenient. So is it possible to extend it for obtaining certificates based on the file path?

### Environment

* APISIX Go Plugin Runner's version:
* APISIX version:
* Go version:
* OS (cmd: `uname -a`):

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.