YOU ARE A VERY BAD BOY!

Certificate Details

(#)
')?>

REVOKED '.$revoke_date.'

'; } print '
'.CA_cert_text($serial).'
'; break; case 'dl-confirm': printHeader('ca'); $rec = CAdb_get_entry($serial); ?>

You are about to download the PRIVATE certificate key for

DO NOT DISTRIBUTE THIS FILE TO THE PUBLIC!

File type:   or  

You are about to REVOKE the following certificate:
'.htvar($rec[serial]).'
'.htvar($rec[common_name]).'
'.htvar($rec[email]).'
'.htvar($rec[organization]).'
'.htvar($rec[unit]).'
'.htvar($rec[locality]).'
'.htvar($rec[province]).'
'.htvar($rec[country]).'

Serial Number
User's Name
Email Address
Organization
Department/Unit
Locality
State/Province
Country

Are you sure?

 
'; break; case 'revoke': $ret = true; if ($submit == 'Yes') list($ret, $errtxt) = CA_revoke_cert($serial); if (! $ret) { printHeader('ca'); print "
"; ?>

There was an error revoking your certificate.


Debug Info:

Certificate Renewal Form

Common Name
E-mail Address
Organization
Department/Unit
Locality
State/Province
Country
Certificate Password
Certificate Life
   
"; ?>

There was an error creating your certificate.


Debug Info:

'; $headings = array( 'status'=>"Status", 'issued'=>"Issued", 'expires'=>"Expires", 'common_name'=>"User's Name", 'email'=>"E-mail", 'organization'=>"Organization", 'unit'=>"Department", 'locality'=>"Locality" ); foreach($headings as $field=>$head) { print ''; } print ''; print ''; $x = "^[$show_valid$show_revoked$show_expired]"; if (in_array($PHPki_user, $PHPki_admins)) { $x = "$x.*$search"; } else { $x = "$x.*$search.*$PHPki_user|$x.*$PHPki_user.*$search"; } $db = csort(CAdb_to_array($x), $sortfield, ($ascdec=='A'?SORT_ASC:SORT_DESC)); $stcolor = array('Valid'=>'green','Revoked'=>'red','Expired'=>'orange'); foreach($db as $rec) { print ''; } print '
CERTIFICATE MANAGEMENT CONTROL PANEL
" method=get name=filter> Search:       >Valid   >Revoked   >Expired      
'.$head.''; if ($sortfield == $field) { print ' '. '\'Change'; } print 'Actions
' .$rec[status].' '.$rec[issued].' '.$rec[expires].' '.$rec[common_name].' ' . htvar($rec['email']) . ' '.htvar($rec[organization]).' '.htvar($rec[unit]).' '.htvar($rec[locality]).' '. 'Display'; if ($rec['status'] == 'Valid') { print ' '. 'Download '. 'Revoke'; } print ' '. 'Renew
'; printFooter(); } ?>