获取微信商户证书序列号

$filepath是apiclient_cert_path
$str = openssl_x509_parse(file_get_contents($filepath));
return $str['serialNumberHex'];
posted @ 2022-06-04 23:13  盘思动  阅读(1139)  评论(0)    收藏  举报