postman 关闭ssl_https 请求绕过证书认证 Get或Post(证书过期报错)

本文介绍了当遇到HTTPS请求因证书过期导致的SSLHandshakeException时,如何在Postman中关闭SSL验证以继续进行HTTP请求。步骤包括在Postman设置中关闭SSL验证选项。同时,提供了Java代码示例,展示如何在Java请求中采用绕过验证的方式处理HTTPS请求。
摘要由CSDN通过智能技术生成

https 请求绕过证书认证 Get或Post(证书过期报错)

发布时间:2018-10-16 14:24,

浏览次数:1008

, 标签:

https

Get

Post

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:

PKIX path building failed:

sun.security.provider.certpath.SunCertPathBuilderException: unable to find

valid certification path to requested target

javax.net.ssl.SSLHandshakeException:

sun.security.validator.ValidatorException: PKIX path building failed:

sun.security.provider.certpath.SunCertPathBuilderException: unable to find

valid certification path to requested target

* 证书过期不要慌…

配置容器为http请求,搞定。

* 如果postman请求遇到一下情况

Could not get any response

不要慌。。。。

解决:

A. 打开postman —> File —> Settings

B. 关闭图片红框里的SSL…选项为OFF

C. 大功告成。。。。

3. java请求…直接贴代码

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值