postman测试https接口
- 2018-12-17 23:55:00
- CJL 原创
- 3669
正常机构申请的https证书postman请求都是没有问题的。但是在一些自签证书的情况下需要我们进行配置。
参考文章:https://www.cnblogs.com/saryli/p/8691541.html
1、准备私钥和公钥,如果是p12文件可以使用以下命令生成
仅仅输出客户端证书到文件中:
openssl pkcs12 -in file.p12 -clcerts -out public_key.pem
不加密私钥文件:
openssl pkcs12 -in file.p12 -nodes -out private_key.pem
2、配置到postman内
发表评论