报错 Verify the signature and get the WechatPay certificate or publicKey corresponding to serialNumber[583542A8614411CE5AA4E497BEC4453DC46DF917] is empty
NotificationConfig config = new RSAPublicKeyNotificationConfig.Builder()
.publicKeyFromPath(privateKeyPath)
.publicKeyId(privateKeyNumber)
.apiV3Key(mchKey)
.build();
RequestParam requestParam = new RequestParam.Builder()
.serialNumber(privateKeyNumber)
.nonce(request.getHeader("Wechatpay-Nonce"))
.signature(request.getHeader("Wechatpay-Signature"))
.timestamp(request.getHeader("Wechatpay-Timestamp"))
.body(String.valueOf(notification))
.build();
没有找到回调通知请求头中平台证书序列号对应的平台证书,你初始化的时候没给对,截图代码给的是平台公钥id