Cert-Name ist Subject-CN und Issuer-O
bernd

bernd commited on 2010-01-15 07:39:43
Zeige 1 geänderte Dateien mit 2 Einfügungen und 1 Löschungen.


git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1603 87cf0b9e-d624-0410-a070-f6ee81989793
... ...
@@ -95,7 +95,8 @@ validTo_time_t => 1267190790
95 95
 
96 96
   */
97 97
  
98
-  return array('subject' => $certdata['name'], 'cn' => $certdata['subject']['CN'], 'valid_from' => date('Y-m-d', $certdata['validFrom_time_t']), 'valid_until' => date('Y-m-d', $certdata['validTo_time_t']));
98
+  //return array('subject' => $certdata['name'], 'cn' => $certdata['subject']['CN'], 'valid_from' => date('Y-m-d', $certdata['validFrom_time_t']), 'valid_until' => date('Y-m-d', $certdata['validTo_time_t']));
99
+  return array('subject' => $certdata['subject']['CN'].' / '.$certdata['issuer']['O'], 'cn' => $certdata['subject']['CN'], 'valid_from' => date('Y-m-d', $certdata['validFrom_time_t']), 'valid_until' => date('Y-m-d', $certdata['validTo_time_t']));
99 100
 }
100 101
 
101 102
 
102 103