{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"},"field":"signature","location":"authorization","sign_information":{"method":"GET","sign_message_length":74,"truncated_sign_message":"GET\n/v3/certificates\n1692885610\n169531E050441BC4FD9229C3039125A322582E4D\n\n","url":"/v3/certificates"}},"message":"错误的签名,验签失败"}
headers: {
'Authorization': 'WECHATPAY2-SHA256-RSA2048 mchid="1613942871",nonce_str="169531E050441BC4FD9229C3039125A322582E4D",signature="gZAW6LFOJTsCcyV4pq1v9eVhMeTSYcooeepZDV5+bph2sY4+8ah2I9ZvuJ869ZkAIAg43RavPvqST9zXdQt/K2icbxkhtMpnReOjLdcMANEOoiH5Z3bagEqfF0g71F1fq9BUMtYkpu7BMXyobOHhd1ZxvJCr9z98fh1HV68u4cQ9iwnXBMcsTtU9gjxMZe7couvtIzSwYMu4siwRvAXX3elNTbFqR0OmZWeuZpzUQp8MOELhTc4lKDXDymGpFOb8tvdRmlL+y3E+SzpGZILJP92PWLFBC/uvMfPMAcxsAUgcBfxl2v7tRbIx7t43nwNgVgDuOL40amFaCqeIzSuG8w==",timestamp="1692886707",serial_no="669531E050441BC4FD9229C3039125A322582E4D"',
'Accept': 'application/json',
'User-Agent': 'https://zh.wikipedia.org/wiki/User_agent'
},
"GET\n/wechat/getUserInfo/code/1\n1692885610\nF2E573E0E1FA7CA0813A170350DC3141\n" \
| openssl dgst -sha256 -sign ./apiclient_key.pem \
| openssl base64 -A