]> WPIA git - gigi.git/blob - src/club/wpia/gigi/pages/account/certs/CertificateDisplay.templ
031ac848a5dade901d9e683e7b5540652efc0296
[gigi.git] / src / club / wpia / gigi / pages / account / certs / CertificateDisplay.templ
1 <table>
2 <? if($support) {?>
3
4   <tr>
5     <th colspan="2"><?=_Support Info?>:</th>
6   </tr>
7
8   <tr>
9     <td><?=$type?>:</td>
10     <td><a href="<?=$link?>"><?=$name?></a></td>
11   </tr>
12 <? } ?>
13
14
15   <tr>
16     <th colspan="2"><?=_X.509 Info?>:</th>
17   </tr>
18
19   <tr>
20     <td><?=_Profile?>:</td>
21     <td><?=$profile?></td>
22   </tr
23
24   <tr>
25     <td><?=_Serial Number?>:</td>
26     <td><?=$serial?></td>
27   </tr
28
29 <? if($support) {?>
30   <tr>
31     <td><?=_Trustchain?>:</td>
32     <td>
33     <? foreach($trustchain) { ?>
34       <?=_issued by?> <code><?=$name?></code>
35     <? } ?>
36     </td>
37   </tr>
38 <? } else { ?>
39   <tr>
40     <td valign="top"><?=_Certificate and Chain?>:</td>
41     <td>
42         <a href='<?=$serial?>.crt'><?=_PEM encoded Certificate?></a>
43         <? foreach($trustchain) { ?>
44             <?=_issued by?> <a href='<?=$link?>'><?=$name?></a>
45         <? } ?>*<br/>
46         <a href='<?=$serial?>.crt?chain'><?=_PEM encoded Certificate Chain?></a><br/>
47         <a href='<?=$serial?>.crt?chain&noAnchor'><?=_PEM encoded Certificate Chain (Excluding Anchor)?></a><br/>
48         <a href='<?=$serial?>.crt?chain&noLeaf'><?=_PEM encoded Certificate Chain (Excluding Leaf)?></a><br/>
49         <a href='<?=$serial?>.cer'><?=_DER encoded Certificate?></a><br/>
50         <a href='<?=$serial?>.cer?install&chain'><?=_Install into browser.?></a><br/>
51         <a href='<?=$serial?>.cer?install'><?=_Install into browser (Chrome)?></a>. <?=_Please ensure that the intermediate certificates listed above are installed prior to installing the certificate.?>*<br/><br/>
52         * <?=_For information on how to install the root certificates into the truststore of your browser take a look at the !(/kb/CSR)FAQ!'</a>'!?>
53     </td>
54   </tr>
55 <? } ?>
56
57   <tr>
58     <th colspan="2"><?=_Validity?>:</th>
59   </tr>
60
61   <tr>
62     <td><?=_Status?>:</td>
63     <td><?=$status?></td>
64   </tr>
65
66   <tr>
67     <td><?=_Issue Date?>:</td>
68     <td><?=$issued?></td>
69   </tr>
70
71   <tr>
72     <td><?=_Expire Date?>:</td>
73     <td><?=$expire?></td>
74   </tr>
75
76   <tr>
77     <td><?=_Revocation Date?>:</td>
78     <td><?=$revoked?></td>
79   </tr>
80
81   <tr>
82     <th colspan="2"><?=_Certificate Info?>:</th>
83   </tr>
84
85   <tr>
86     <td><?=_Fingerprint?>:</td>
87     <td><?=$fingerprint?></td>
88   </tr>
89
90   <tr>
91     <td valign="top"><?=_Certificate (PEM)?>:</td>
92     <td><pre><?=$cert?></pre></td>
93   </tr>
94
95   <tr>
96     <th colspan="2"><?=_Certificate Details?>:</th>
97   </tr>
98
99   <tr>
100     <td><?=_Login enabled?>:</td>
101     <td><?=$login?></td>
102   </tr>
103
104   <tr>
105     <td><?=_Digest?>:</td>
106     <td><?=$digest?></td>
107   </tr>
108
109   <tr>
110     <td><?=_Distinguished Name (DN)?>:</td>
111     <td><?=$DN?></td>
112   </tr>
113
114   <tr>
115     <td><?=_Subject Alternative Names (SAN)?>:</td>
116     <td>
117     <? foreach($san) { ?>
118       <?=$entry?>
119     <? } ?>
120     </td>
121   </tr>
122
123 </table>
124 <? if($revokeForm) {?>
125 <?=$revokeForm?>
126 <? } ?>