]> WPIA git - gigi.git/blob - src/club/wpia/gigi/pages/account/certs/CertificateDisplay.templ
upd: remove 'browser install'
[gigi.git] / src / club / wpia / gigi / pages / account / certs / CertificateDisplay.templ
1 <table class="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         <?=_PEM encoded Certificate?> (<a href='<?=$serial?>.crt' download>CRT</a>/<a href='<?=$serial?>.pem' download>PEM</a>)
43         <? foreach($trustchain) { ?>
44             <?=_issued by?> <a href='<?=$link?>'><?=$name?></a>
45         <? } ?><br/>
46         <?=_PEM encoded Certificate Chain?> (<a href='<?=$serial?>.crt?chain'  download>CRT</a>/<a href='<?=$serial?>.pem?chain' download>PEM</a>)<br/>
47         <?=_PEM encoded Certificate Chain (Excluding Anchor)?> (<a href='<?=$serial?>.crt?chain&noAnchor' download>CRT</a>/<a href='<?=$serial?>.pem?chain&noAnchor' download>PEM</a>)<br/>
48         <?=_PEM encoded Certificate Chain (Excluding Leaf)?> (<a href='<?=$serial?>.crt?chain&noLeaf' download>CRT</a>/<a href='<?=$serial?>.pem?chain&noLeaf' download>PEM</a>)<br/>
49         <?=_DER encoded Certificate?> (<a href='<?=$serial?>.cer' download>CER</a>)<br/>
50         <b>*<?=_Note?></b>: <?=_Remember, in order to use the certificate correctly, you additionally need the corresponding private key. How it is needed depends on the software solution you are using. This private key is usually generated together with the certificate signing request (CSR).?></br>
51         <?=_For information on how to install the root certificates into the truststore of your browser take a look at the !(/kb/rootcert)root certificate page in the FAQ!'</a>'!?></br>
52         <?=_For the different variants of the certificate and chain take a look at the !(/kb/certs)certificate page in the 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 SHA-1?>:</td>
87     <td><?=$fingerprintSHA1?></td>
88   </tr>
89   <tr>
90     <td><?=_Fingerprint SHA-256?>:</td>
91     <td><?=$fingerprintSHA256?></td>
92   </tr>
93   <tr>
94     <td valign="top"><?=_Certificate (PEM)?>:</td>
95     <td><pre><?=$cert?></pre></td>
96   </tr>
97
98   <tr>
99     <th colspan="2"><?=_Certificate Details?>:</th>
100   </tr>
101
102   <tr>
103     <td><?=_Login enabled?>:</td>
104     <td><?=$login?></td>
105   </tr>
106
107   <tr>
108     <td><?=_Digest?>:</td>
109     <td><?=$digest?></td>
110   </tr>
111
112   <tr>
113     <td><?=_Distinguished Name (DN)?>:</td>
114     <td><?=$DN?></td>
115   </tr>
116
117   <tr>
118     <td><?=_Subject Alternative Names (SAN)?>:</td>
119     <td>
120     <? foreach($san) { ?>
121       <?=$entry?>
122     <? } ?>
123     </td>
124   </tr>
125
126 </table>
127 <? if($revokeForm) {?>
128 <?=$revokeForm?>
129 <? } ?>