postman与tomcat建立https通讯连接

https://blog.csdn.net/m1f2c3/article/details/88895650

上面的链接讲解了https服务器的搭建,在搭建过程中生成了client.p12,现在要从client.p12导出

从p12导出key文件

openssl pkcs12 -in client.p12 -nocerts -nodes -out client.key

从p12导出crt文件

openssl pkcs12 -in client.p12 -clcerts -nokeys -out client.crt 

将证书添加到postman中

 

postman与tomcat建立https通讯连接
 

 

postman与tomcat建立https通讯连接

 

postman与tomcat建立https通讯连接

 

问题:

1、有个奇怪的问题,实际上不用我生成的这个证书,使用论坛中给的证书,服务器也认

postman与tomcat建立https通讯连接

 

服务器中的信任列表中应该没有论坛中的证书的条目,为什么服务器就信了呢?还是说服务器认证客户端证书的过程中只是检测了证书所有者和颁发者,其他的都没检查?

 

2、postman中并没有有关服务器公钥的信任库,postman是怎么就信任服务器的公钥了?postman跟chrome有关联?准备将chrome中的tomcat自认证证书删除一下试试。

 

 

 

 

上一篇:Ubuntu下如何查看GPU版本和使用信息?


下一篇:Python基础 - 20210515 - 基础8(函数-2)