1.商户号操作升级证书,升级为权威CA颁发的API证书,拿到apiclient_cert.p12文件。
2.代码没改,直接替换原来的apiclient_cert.p12。
3.退款失败,抛出异常
Caused by: java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
ps:用原来的老证书没这个问题
请问解决了吗?
https://kf.qq.com/faq/161222NneAJf161222U7fARv.html参看文档。进行API证书的升级。以及操作