summaryrefslogtreecommitdiffstats
path: root/pki/linux/ca-ui/shared/webapps/ca/agent/ca/updateCRL.template
blob: fca18121ba490b0a663b79a874dd5b25c738c7d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!-- --- BEGIN COPYRIGHT BLOCK ---
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; version 2 of the License.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License along
     with this program; if not, write to the Free Software Foundation, Inc.,
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

     Copyright (C) 2007 Red Hat, Inc.
     All rights reserved.
     --- END COPYRIGHT BLOCK --- -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD><TITLE> Update Certificate Revocation List </TITLE>
<CMS_TEMPLATE>
</HEAD>
<BODY bgcolor="white">
<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
Update Certificate Revocation List Result 
</font>

<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" BACKGROUND="/ca/agent/graphics/hr.gif" >
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>

<font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
<SCRIPT LANGUAUGE="JavaScript">
if (result.header.crlPublished == 'Success') {
    document.write('The Certificate Revocation List has been updated and published successfully');
//    if (result.header.time != null) {
//        var sec = result.header.time / 1000;
//        document.write(' in '+sec+' seconds');
//    }
    document.writeln('.');
} else if (result.header.crlPublished == 'Failure') {
    document.writeln('The Certificate Revocation List has been updated successfully.<br>');
    document.writeln('The Certificate Revocation List has not been published successfully.<br>');
    if (result.header.error != null) {
        document.writeln('<br>&nbsp;&nbsp;&nbsp;&nbsp;Additional information:<br>');
        document.writeln('<blockquote><b><pre>'+result.header.error+'</pre></b></blockquote>');
    }
} else if (result.header.crlUpdate == 'Scheduled') {
    document.writeln('The Certificate Revocation List update has been scheduled.<br>');
    document.writeln('Check the CS logs to see results.');
} else if (result.header.crlUpdate == 'inProgress') {
    document.writeln('The Certificate Revocation List update is in progress.<br>');
    document.writeln('Check the CS logs to see results.');
} else if (result.header.crlUpdate == 'Disabled') {
    document.writeln('The Certificate Revocation List updates are disabled.<br>');
} else if (result.header.crlUpdate == 'notInitialized') {
    document.write('CRL Issuing Point');
    if (result.header.crlIssuingPoint != null) {
        document.write(' <i>'+result.header.crlIssuingPoint+'</i>');
    }
    document.writeln(' has not been initialized.<br>');
    document.writeln('Check the CS logs to see results.');
} else {
    document.write('The Certificate Revocation List has been updated successfully');
//    if (result.header.time != null) {
//        var sec = result.header.time / 1000;
//        document.write(' in '+sec+' seconds');
//    }
    document.writeln('.');
}
</SCRIPT>
</font>
</BODY>
</HTML>