收藏
回答

同样命令生成 微信平台支付证书,提示签名错误。怎么排查具体哪里原因?挺急的


composer  exec CertificateDownloader.php -- -k htr4cb3ff140fb9f2151e2d5cf61f8v3 -m 1685376184 -f  /public/uploads/config/file/20240927/ee4c0d7bb45d15192ac54b6374ffc34d.pem -s 12CD6473FBC5613A6650A1DD1FA1E78FDEB704E2 -o /certifie/1685376184

{"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\n1727406426\n6Lx32fQ4EIbItU6fxl3dSNBMlgrfLPuy\n\n","url":"/v3/certificates"}},"message":"错误的签名,验签失败"}


最后一次编辑于  09-27
回答关注问题邀请回答
收藏

2 个回答

  • 北望沣渭
    北望沣渭
    09-27

    ee4c0d7bb45d15192ac54b6374ffc34d.pem

    这个文件不对,应该是1685376184商户号的apiclient_key.pem文件内容

    09-27
    有用 1
    回复 1
    • long
      long
      09-27
      那我再试下
      09-27
      回复
  • long
    long
    09-27

    {"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\n1727406426\n6Lx32fQ4EIbItU6fxl3dSNBMlgrfLPuy\n\n","url":"/v3/certificates"}},"message":"错误的签名,验签失败"}

    09-27
    有用
    回复
登录 后发表内容