<? $str = file_get_contents(\'2.cer\'); print_r(openssl_x509_parse($str)); ?> 证书需要使用base64编码的方式cer证书。 相关文章: