MinIO存储测试demo踩坑

moonjerx
2021-08-05 / 0 评论 / 1,051 阅读 / 正在检测是否收录...

1.使用官网提供的java版sdk代码

Java SDK

I.java发送https请求,报证书不信任错误

解决PKIX:unable to find valid certification path to requested target 的问题

set PATH=%PATH%;"D:\Program Files\Java\jre1.8.0_25\bin"
keytool.exe -importcert -file 1.cer> -keystore "D:\Program Files\Java\jdk1.8.0_25\jre\lib\security\cacerts" -storepass changeit
keytool -import -alias miniooss -keystore "D:\Program Files\Java\jdk1.8.0_25\jre\lib\security\cacerts" -file 1.cer -storepass changeit
II.签名错误

The request signature we calculated does not match the signature you provided. Check your key and signing method.

III.Access denied

2.https://blog.csdn.net/ouyang_zhen/article/details/118961684

0

评论 (0)

取消

您的IP: