php 证书和回调报文解密报错: openssl_decrypt(): Setting tag for AEAD cipher decryption failed
通过API获取的平台证书内容是:{
"data": [{
"effective_time": "2021-05-11T10:35:04+08:00",
"encrypt_certificate": {
"algorithm": "AEAD_AES_256_GCM",
"associated_data": "certificate",
"ciphertext": "D01NFmBBTb7sZIvPcf5JGA==",
"nonce": "e95bd172d783"
},
"expire_time": "2026-05-10T10:35:04+08:00",
"serial_no": "53709BDA3E66A3397B6A7D9F3B4A71F68DC61E7D"
}]
}
我按照文档中的示例代码写的:
请问为什么报这个错,需要怎么修改?
解决了吗