1.使用官网提供的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
评论 (0)