"Root",
1 => "Client",
2 => "Admin",
3 => "Bundle",
4 => "Client",
5 => "Client Private Key",
6 => "Admin",
7 => "Admin Private Key",
8 => "Root",
9 => "Client");
function print_cert_info($info, $type)
{
$status = "Valid";
if( !$info->IsValid ) $status = "Expired";
else if( $info->ExpireSoon ) $status = "Expires
Soon";
// Highlight the tags in the Issuer and Subject
$old = array("C:", "S:", "L:", "O:", "OU:", "CN:");
$new = array("C:", "S:", "L:", "O:", "OU:", "CN:");
$Issuer = str_replace($old, $new, $info->Issuer);
$Subject = str_replace($old, $new, $info->Subject);
?>
| Issuer: | =$Issuer?> |
| Subject: | =$Subject?> |