1 |
<html> |
2 |
<head> |
3 |
<title c="Certificate of ${subject.cn}"/> |
4 |
<link rel="stylesheet" type="text/css" href="stylesheet.css"/> |
5 |
</head> |
6 |
<body class="infopane"> |
7 |
<h1>Certificate of <span c="${subject.cn}"/></h1> |
8 |
|
9 |
<p class="topinfo-bad" if="!${cert} and !${request}"> |
10 |
This certificate is incomplete, please consider removing it.</p> |
11 |
|
12 |
<p class="topinfo-ok" if="!${cert} and ${request} and !${request.submitted}"> |
13 |
Your request still needs to be <a href="action:viewrequest">submitted</a> to the certificate authority.</p> |
14 |
|
15 |
<p class="topinfo-ok" if="!${cert} and ${request} and ${request.submitted} and !${request.processed}"> |
16 |
Your request is currently awaiting approval (<a href="action:viewrequest">more...</a>).</p> |
17 |
|
18 |
<p class="topinfo-ok" if="!${cert} and ${request} and ${request.processed}"> |
19 |
Your request has been accepted, you can now <a href="action:install">retrieve your certificate</a>.</p> |
20 |
|
21 |
<p class="topinfo-bad" if="${cert} and !${valid}"> |
22 |
This certificate is expired, you can no longer use it.</p> |
23 |
|
24 |
<!-- message from certificate check --> |
25 |
<p class="topinfo-message" if="${state.message}" c="${state.message}"/> |
26 |
|
27 |
<table summary="certificate details" cellpadding="3"> |
28 |
<tr> |
29 |
<th class="name">Name</th> |
30 |
<td class="name"> |
31 |
<span c="${subject.cn}"></span> <tt c="${subject.e}"></tt> |
32 |
</td> |
33 |
</tr> |
34 |
<tr> |
35 |
<th class="org">Organisation</th> |
36 |
<td class="org" c="${subject.o.html}"></td> |
37 |
</tr> |
38 |
<tr if="${issuer}"> |
39 |
<th class="issuer">Issuer</th> |
40 |
<td class="issuer" c="${issuer.cn}"></td> |
41 |
</tr> |
42 |
<tr if="${cert.sn}"> |
43 |
<th class="serial">Serial</th> |
44 |
<td class="serial"><a href="https://ca.dutchgrid.nl/medium/query/?id=${cert.sn}" c="${cert.sn}"></a></td> |
45 |
</tr> |
46 |
<tr> |
47 |
<th class="validity">Valid</th> |
48 |
<td class="validity"> |
49 |
<span if="${valid.notbefore}" c="from ${valid.notbefore}"/> |
50 |
<span if="${valid.notafter}" c="to ${valid.notafter}"/> |
51 |
<span if="${valid}" class="valid" title="certificate is valid and can be used">✓</span> |
52 |
<span if="!${valid}" class="invalid" title="certificate is expired or revoked">✕</span> |
53 |
</td> |
54 |
</tr> |
55 |
<!-- |
56 |
<tr> |
57 |
<th class="vo">VOs</th> |
58 |
<td class="vo"> |
59 |
<a href="https://voms.grid.sara.nl:8443/voms/pvier/">pvier</a>, |
60 |
<a href="https://voms.grid.sara.nl:8443/voms/ncf">ncf</a>, |
61 |
<i>pending:</i> |
62 |
<a href="https://voms.grid.sara.nl:8443/voms/vlemed" class="pending">vlemed</a> |
63 |
</td> |
64 |
</tr> |
65 |
--> |
66 |
|
67 |
<tr> |
68 |
<td colspan="2" class="showdetails"> |
69 |
<a href="action:showdetails" class="shown-${(${view.showdetails})}">Details</a> |
70 |
</td> |
71 |
</tr> |
72 |
<tr class="details" if="${view.showdetails} and ${subject}"> |
73 |
<th class="dn">DN</th> |
74 |
<td class="dn" c="${subject.x-dn-slash}"/> |
75 |
</tr> |
76 |
<tr class="details" if="${view.showdetails} and ${modulus}"> |
77 |
<th class="modulus">Modulus</th> |
78 |
<td class="modulus"><span c="${modulus.first20}"/>...</td> |
79 |
</tr> |
80 |
<tr class="details" if="${view.showdetails} and ${usage}"> |
81 |
<th class="usage">Usage</th> |
82 |
<td class="usage"> |
83 |
<span if="${usage.any}" title="usable for anything">any,</span> |
84 |
<span if="${usage.clientauth}" title="usable for client authentication like in a web browser">Client authentication,</span> |
85 |
<span if="${usage.emailprotection}" title="usable for signing and encrypting emails">Email protection,</span> |
86 |
</td> |
87 |
</tr> |
88 |
<tr class="details" if="${view.showdetails} and ${path}"> |
89 |
<th class="location">Location</th> |
90 |
<td class="location" c="${path}"/> |
91 |
</tr> |
92 |
</table> |
93 |
|
94 |
</body> |
95 |
</html> |