1.使用官网提供的java版sdk代码Java SDKI.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 changeitkeytool -import -alias miniooss -keystore "D:\Program Files\Java\jdk1.8.0_25\jre\lib\security\cacerts" -file 1.cer -storepass changeitII.签名错误The request signature we calculated does not match the signature you provided. Check your key and signing method.III.Access denied2.https://blog.csdn.net/ouyang_zhen/article/details/118961684