如何在 post man 中传递自定义证书?

How to pass custom certificate in post man?

我在我的机器上创建了一个集群,该集群使用 TLS 证书进行保护。现在我需要使用 TLS 证书通过邮递员获取信息。

如何在邮递员中传递我的证书?

我的工作 Curl 命令:curl https://<"IP-Address">:2376/images/json --cert cert.pem --key key.pem --cacert ca.pem

转到设置图标 -> 设置 -> 证书 -> 添加证书

输入以下信息

Host   https://<"IP-Address">:2376

CRT file location

Key file location

Passphrase 

然后运行你的dockerAPI

https://<"IP-Address">:2376/v1.24/images/json

你将得到 JSON 输出