使用的是下边的语句进行生成,参数都替换了
vendor/bin/CertificateDownloader.php -k ${apiV3key} -m ${mchId} -f ${mchPrivateKeyFilePath} -s ${mchSerialNo} -o ${outputFilePath}
返回的报错 Decrypting the input $ciphertext failed, please checking your $key and $iv whether or nor correct.
#0 /www/wwwroot/xxx/vendor/wechatpay/wechatpay/bin/CertificateDownloader.php(63): WeChatPay\Crypto\AesGcm::decrypt('\n\x86\x9BHNrz"\xC0\xC4\xF8\xB3\xE2\x02\x1D...', 'Tuyu...', '18fe', 'certificate')...
网上搜到的回答是apiV3key错误,可apiV3密钥自生成后就没动过,会和这个有关吗
已经解决了,APIv3密钥的问题,重置后用新的就能生成了