certificate - How to use pfx certificate in postman?
问题描述
There is a way to import a .pfx certificate in postman? I need to send a user certificate for testing my API.
解决方案
在撰写此答案时,Postman 不支持.PFX文件。参考: 功能请求:支持 PFX
但是,您可以使用 openSSL 从 .PFX 文件中提取证书和私钥,并在 Postman 中进行配置。
提取密钥:
openssl pkcs12 -in pfxfile.pfx -nocerts -out key.pem -nodes
提取证书:
openssl pkcs12 -in pfxfile.pfx -nokeys -out cert.pem
推荐阅读
- angular - 第一次选择后角垫选择关闭选择面板
- android - Android - 将原始资产中的文件保存到外部存储以供其他应用程序访问,导致找不到内容根异常
- google-cloud-platform - Google Compute Engine aiohttp 获取请求 recaptcha
- javascript - 类型 IntrinsicAttributes 和 Pick 上不存在属性“ref”
- c# - 将 newtonsoft 安装到全局程序集缓存以用于 SSIS 脚本任务
- reactjs - ReactJS - 低效的 useEffect 运行四次
- javascript - 多个上下文菜单选项 - Tampermonkey
- javascript - 如何将带有 3d 模型的three.js 场景添加到 div 中?
- python - 使用带有自定义模块的 py2exe 冻结 Python 应用程序
- c - 树中最大的叶节点。当叶节点为负时如何防止得到 0