微信支付APIv3服务商平台报错误的签名,验签失败
根据签名生成的案例操作调用:https://api.mch.weixin.qq.com/v3/certificates 签名字符串为:GET\n/v3/certificates\n1610469421\nWYIIIHLWWN9AXHVJ1DHRCMZAJJIDCS6C\n\n 获得signature为:Coss1Ki5kxzaq6WM3/WBzsEZHffqDm8Kgr5aBwpfGj50pX3fFfuQgbjJlvSlcwyVu0JKnOqrV/7aUDhW+s4oD1OvesLuwDc3zDHaO7dfIqbSyxk+dDmj2Oz1kePaUU9Uswxba+ucY8eIAWv41TIlxLAyNLMAeyCXPssRv9s9vXOu9eyT0MuAxXSiaVIUuRyWQhxI1DfYAjBkb2BdXAPR1bMCLkx0eNDLOR7rLIU5arYFTnx5JkboD2ksbwS2NGHiCmVzz9jklwqv8i6C9wg/rlmSV6Uo1gKjeHPTeCkUUR5sp6yF5ahOlT/FXRi5AsJ1Lej3v3c9hNzOKqPEjbWqYg== 签名工具验证正确: [图片] 但是还是返回了:错误的签名,验签失败 返回内容为:{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"GET","sign_message_length":66,"truncated_sign_message":"GET\n/v3/certificates\n1610469421\nWYIIIHLWWN9AXHVJ1DHRCMZAJJIDCS6C\n\n","url":"/v3/certificates"}},"message":"错误的签名,验签失败"} API证书是根据:https://kf.qq.com/faq/161222NneAJf161222U7fARv.html 的方法获取的,已经重新获取过一次,还是报同样的错误。 请求支援... 根据