diff options
Diffstat (limited to 'base/ocsp/shared/webapps/ocsp/agent/ocsp')
23 files changed, 1416 insertions, 0 deletions
diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/AddCA.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/AddCA.html new file mode 100644 index 000000000..43f2503a1 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/AddCA.html @@ -0,0 +1,69 @@ +<!-- --- 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>Add Certificate Authority</TITLE> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +</HEAD> + +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> +<font size="+1" face="PrimaSans BT, Verdana, sans-serif">Add Certificate Authority<br></font> +<font size="-1" face="PrimaSans BT, Verdana, sans-serif"> +Use this form to add the certificate chain of a Certificate Authority whose CRL will be accepted by this OCSP Authority.</font> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> + +<FORM ACTION="/ocsp/agent/ocsp/addCA" METHOD=POST> + +<table border="0" cellspacing="2" cellpadding="2"> + <tr> + <td valign="top"> + <font size="-1" face="PrimaSans BT, Verdana, sans-serif">Base 64 encoded certificate (including header and footer):</font> + </td> + </tr> + <tr> + <td valign="top"> + <textarea cols="50" rows="20" name="cert"></textarea> + </td> + </tr> +</table> + +<p> +<br> +<TABLE cellpadding="6" cellspacing="0" border="0" width="100%" BACKGROUND="/pki/images/gray90.gif"> + <TR> + <TD align="right" bgcolor="#e5e5e5"> + <INPUT TYPE="submit" VALUE="Add" width="72"> + <!-- + <font size=-1 face="PrimaSans BT, Verdana, sans-serif"></font> + <font size=-1 face="PrimaSans BT, Verdana, sans-serif"></font> + <INPUT TYPE="button" VALUE="Help" width="72" + onClick="help('/manual/agent_guide/ocspagt.htm#Identifying a CA to Online Certificate Status Manager')"> --> + </TD> + </TR> +</TABLE> + +</FORM> +</BODY> + +</HTML> diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/AddCRL.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/AddCRL.html new file mode 100644 index 000000000..4a6878a00 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/AddCRL.html @@ -0,0 +1,82 @@ +<!-- --- 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>Add Certificate Revocation List</TITLE> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +</HEAD> + +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> +<font size="+1" face="PrimaSans BT, Verdana, sans-serif">Add Certificate Revocation List<br></font> +<font size="-1" face="PrimaSans BT, Verdana, sans-serif"> +Use this form to add the certificate revocation list of a Certificate Authority.</font> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> + +<FORM ACTION="/ocsp/agent/ocsp/addCRL" METHOD=POST> + +<table border="0" cellspacing="2" cellpadding="2"> + <tr> + <td valign="top"> + <font size="-1" face="PrimaSans BT, Verdana, sans-serif">Base 64 encoded Certificate revocation list (including header and footer):</font> + </td> + </tr> + <tr> + <td valign="top"> + <textarea cols="50" rows="20" name="crl"></textarea> + </td> + </tr> + <tr> + <td valign="top" align="right"> + <font size="-1" face="PrimaSans BT, Verdana, sans-serif"></font> + </td> + <td valign="top"> + </td> + </tr> + <tr> + <td valign="top" align="right"> + <font size="-1" face="PrimaSans BT, Verdana, sans-serif"><br></font> + </td> + <td></td> + </tr> +</table> + +<p> +<br> +<TABLE cellpadding="6" cellspacing="0" border="0" width="100%" BACKGROUND="/pki/images/gray90.gif"> + <TR> + <TD align="right" bgcolor="#e5e5e5"> + <INPUT TYPE="submit" VALUE="Add" width="72"> + <!-- + <font size=-1 face="PrimaSans BT, Verdana, sans-serif"></font> + <font size=-1 face="PrimaSans BT, Verdana, sans-serif"></font> + <INPUT TYPE="button" VALUE="Help" width="72" + onClick="help('/manual/agent_guide/ocspagt.htm#Adding a CRL to Online Certificate Status Manager')"> --> + </TD> + </TR> +</TABLE> + +</FORM> +</BODY> + +</HTML> diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/CheckCert.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/CheckCert.html new file mode 100644 index 000000000..ca15f1404 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/CheckCert.html @@ -0,0 +1,69 @@ +<!-- --- 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>Check Certificate Status</TITLE> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +</HEAD> + +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> +<font size="+1" face="PrimaSans BT, Verdana, sans-serif">Check Certificate Status<br></font> +<font size="-1" face="PrimaSans BT, Verdana, sans-serif"> +Use this form to confirm the status of a certificate.</font> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> + +<FORM ACTION="/ocsp/agent/ocsp/checkCert" METHOD=POST> + +<table border="0" cellspacing="2" cellpadding="2"> + <tr> + <td valign="top"> + <font size="-1" face="PrimaSans BT, Verdana, sans-serif">Base 64 encoded certificate:</font> + </td> + </tr> + <tr> + <td valign="top"> + <textarea cols="50" rows="20" name="cert"></textarea> + </td> + </tr> +</table> + +<p> +<br> +<TABLE cellpadding="6" cellspacing="0" border="0" width="100%" BACKGROUND="/pki/images/gray90.gif"> + <TR> + <TD align="right" bgcolor="#e5e5e5"> + <INPUT TYPE="submit" VALUE="Check" width="72"> + <!-- + <font size=-1 face="PrimaSans BT, Verdana, sans-serif"></font> + <font size=-1 face="PrimaSans BT, Verdana, sans-serif"></font> + <INPUT TYPE="button" VALUE="Help" width="72" + onClick="help('/manual/agent_guide/ocspagt.htm#Checking the Revocation Status of a Certificate')"> --> + </TD> + </TR> +</TABLE> + +</FORM> +</BODY> + +</HTML> diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/addCA.template b/base/ocsp/shared/webapps/ocsp/agent/ocsp/addCA.template new file mode 100644 index 000000000..3205ee0b9 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/addCA.template @@ -0,0 +1,59 @@ +<!-- --- 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>Adding Certificate Authority</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<SCRIPT LANGUAGE="JavaScript"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript"> +<!-- +if (navigator.appName == "Microsoft Internet Explorer") { + document.writeln('<META HTTP-EQUIV="Pragma" CONTENT="no-cache">'); +} +//--> +</SCRIPT> +</head> + +<CMS_TEMPLATE> + +<body bgcolor="#FFFFFF" link="#6666CC" vlink="#6666CC" alink="#333399"> +<font face="PrimaSans BT, Verdana, sans-serif" size="+1"> +Adding Certificate Authority +</font><br> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> +<br> + +<SCRIPT LANGUAGE="JavaScript"> +<!-- + document.writeln('Certificate authority is added'); + if (result.header.error != null) { + document.write('\nAdditional information:\n '); + document.writeln(result.header.error); + } +//--> +</SCRIPT> + +</BODY> +</HTML> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/addCRL.template b/base/ocsp/shared/webapps/ocsp/agent/ocsp/addCRL.template new file mode 100644 index 000000000..99f227c47 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/addCRL.template @@ -0,0 +1,59 @@ +<!-- --- 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>Adding Certificate Revocation List</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<SCRIPT LANGUAGE="JavaScript"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript"> +<!-- +if (navigator.appName == "Microsoft Internet Explorer") { + document.writeln('<META HTTP-EQUIV="Pragma" CONTENT="no-cache">'); +} +//--> +</SCRIPT> +</head> + +<CMS_TEMPLATE> + +<body bgcolor="#FFFFFF" link="#6666CC" vlink="#6666CC" alink="#333399"> +<font face="PrimaSans BT, Verdana, sans-serif" size="+1"> +Adding Certificate Revocation List +</font><br> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> +<br> + +<SCRIPT LANGUAGE="JavaScript"> +<!-- + document.writeln('Certificate revocation list is added'); + if (result.header.error != null) { + document.write('\nAdditional information:\n '); + document.writeln(result.header.error); + } +//--> +</SCRIPT> + +</BODY> +</HTML> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/checkCert.template b/base/ocsp/shared/webapps/ocsp/agent/ocsp/checkCert.template new file mode 100644 index 000000000..5e8b8938c --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/checkCert.template @@ -0,0 +1,79 @@ +<!-- --- 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>Check Certificate Status</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<SCRIPT LANGUAGE="JavaScript"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript"> +<!-- +if (navigator.appName == "Microsoft Internet Explorer") { + document.writeln('<META HTTP-EQUIV="Pragma" CONTENT="no-cache">'); +} +//--> +</SCRIPT> +</head> + +<CMS_TEMPLATE> + +<body bgcolor="#FFFFFF" link="#6666CC" vlink="#6666CC" alink="#333399"> +<font face="PrimaSans BT, Verdana, sans-serif" size="+1"> +Online Certificate Status +</font><br> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> +<br> + +<SCRIPT LANGUAGE="JavaScript"> +<!-- + document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); + document.writeln('<tr align="left" bgcolor="#e5e5e5"><td align="left">'); + document.writeln('<font face="PrimaSans BT, Verdana, sans-serif" size="-1">'); + document.writeln('Certificate status summary</font></td></tr></table>'); + + document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); + document.writeln('<tr><td align="left" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Status: ' + result.header.status + '</font></td>'); + document.writeln('</tr>'); + document.writeln('<tr><td align="left" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Serial Number: ' + result.header.serialno + '</font></td>'); + document.writeln('</tr>'); + document.writeln('<tr><td align="left" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Issuer DN: ' + result.header.issuerDN + '</font></td>'); + document.writeln('</tr>'); + document.writeln('<tr><td align="left" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Subject DN: ' + result.header.subjectDN + '</font></td>'); + document.writeln('</tr>'); + + document.writeln('</table>'); + document.writeln('</td></tr></table>'); +//--> +</SCRIPT> + +</BODY> +</HTML> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameAddCA.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameAddCA.html new file mode 100644 index 000000000..afb888caf --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameAddCA.html @@ -0,0 +1,32 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<frameset cols="140,1*" border="0" frameborder="NO"> + <frame src="menuAddCA.html" scrolling="NO" noresize frameborder="NO" name="left"> + <frame src="addCA.html" marginwidth="16" marginheight="16" frameborder="NO" noresize name="content"> +</frameset> +<noframes><body bgcolor="#FFFFFF"> +</body></noframes> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameAddCRL.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameAddCRL.html new file mode 100644 index 000000000..28be03545 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameAddCRL.html @@ -0,0 +1,32 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<frameset cols="140,1*" border="0" frameborder="NO"> + <frame src="menuAddCRL.html" scrolling="NO" noresize frameborder="NO" name="left"> + <frame src="addCRL.html" marginwidth="16" marginheight="16" frameborder="NO" noresize name="content"> +</frameset> +<noframes><body bgcolor="#FFFFFF"> +</body></noframes> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameCheckCert.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameCheckCert.html new file mode 100644 index 000000000..21335c8a0 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameCheckCert.html @@ -0,0 +1,32 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<frameset cols="140,1*" border="0" frameborder="NO"> + <frame src="menuCheckCert.html" scrolling="NO" noresize frameborder="NO" name="left"> + <frame src="CheckCert.html" marginwidth="16" marginheight="16" frameborder="NO" noresize name="content"> +</frameset> +<noframes><body bgcolor="#FFFFFF"> +</body></noframes> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameListCA.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameListCA.html new file mode 100644 index 000000000..90530fd42 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameListCA.html @@ -0,0 +1,32 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<frameset cols="140,1*" border="0" frameborder="NO"> + <frame src="menuListCA.html" scrolling="NO" noresize frameborder="NO" name="left"> + <frame src="/ocsp/agent/ocsp/listCAs" marginwidth="16" marginheight="16" frameborder="NO" noresize name="content"> +</frameset> +<noframes><body bgcolor="#FFFFFF"> +</body></noframes> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameOCSP.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameOCSP.html new file mode 100644 index 000000000..00fad0f36 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameOCSP.html @@ -0,0 +1,32 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<frameset cols="140,1*" border="0" frameborder="NO"> + <frame src="menuOCSP.html" scrolling="NO" noresize frameborder="NO" name="left"> + <frame src="/ocsp/agent/ocsp/getOCSPInfo" marginwidth="16" marginheight="16" frameborder="NO" noresize name="content"> +</frameset> +<noframes><body bgcolor="#FFFFFF"> +</body></noframes> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameStats.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameStats.html new file mode 100644 index 000000000..8efa27a78 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/frameStats.html @@ -0,0 +1,32 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<frameset cols="140,1*" border="0" frameborder="NO"> + <frame src="menuStats.html" scrolling="NO" noresize frameborder="NO" name="left"> + <frame src="/getStats" marginwidth="16" marginheight="16" frameborder="NO" noresize name="content"> +</frameset> +<noframes><body bgcolor="#FFFFFF"> +</body></noframes> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/getOCSPInfo.template b/base/ocsp/shared/webapps/ocsp/agent/ocsp/getOCSPInfo.template new file mode 100644 index 000000000..9a2769777 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/getOCSPInfo.template @@ -0,0 +1,118 @@ +<!-- --- 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>Display CRL</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<SCRIPT LANGUAGE="JavaScript"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript"> +<!-- +if (navigator.appName == "Microsoft Internet Explorer") { + document.writeln('<META HTTP-EQUIV="Pragma" CONTENT="no-cache">'); +} +//--> +</SCRIPT> +</head> + +<CMS_TEMPLATE> + +<body bgcolor="#FFFFFF" link="#6666CC" vlink="#6666CC" alink="#333399"> +<font face="PrimaSans BT, Verdana, sans-serif" size="+1"> +OCSP Service +</font><br> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> +<br> + +<SCRIPT LANGUAGE="JavaScript"> +<!-- + document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); + document.writeln('<tr align="left" bgcolor="#e5e5e5"><td align="left">'); + document.writeln('<font face="PrimaSans BT, Verdana, sans-serif" size="-1">'); + document.writeln('Detailed Information (Since Startup)</font></td></tr></table>'); + + document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); + document.writeln('<tr><td align="right" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('OCSP Responses:</font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(result.header.numReq+'</font></td></tr>'); + document.writeln('<tr><td align="right" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Total Signed Response Data (in bytes):</font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(result.header.totalData+'</font></td></tr>'); + document.writeln('<tr><td align="right" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Processing Time (in ms):</font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln((result.header.totalSec-result.header.totalSignSec)+'</font></td></tr>'); + document.writeln('<tr><td align="right" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Signing Time (in ms):</font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(result.header.totalSignSec+'</font></td></tr>'); + document.writeln('<tr><td align="right" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Total Time (in ms):</font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(result.header.totalSec+'</font></td></tr>'); + document.writeln('<tr><td align="right" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Signing Time Per Response (in ms):</font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + if (result.header.numReq == '0') { + document.writeln(result.header.numReq+'</font></td></tr>'); + } else { + document.writeln((result.header.totalSignSec/result.header.numReq)+'</font></td></tr>'); + } + document.writeln('<tr><td align="right" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Total Time Per Response (in ms):</font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + if (result.header.numReq == '0') { + document.writeln(result.header.numReq+'</font></td></tr>'); + } else { + document.writeln((result.header.totalSec/result.header.numReq)+'</font></td></tr>'); + } + document.writeln('<tr><td align="right" width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('Responses Per Second:</font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(result.header.ReqSec+'</font></td></tr>'); + document.writeln('</table><br>'); + +//--> +</SCRIPT> + +</BODY> +</HTML> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/getStats.template b/base/ocsp/shared/webapps/ocsp/agent/ocsp/getStats.template new file mode 100644 index 000000000..59ae3e6d3 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/getStats.template @@ -0,0 +1,141 @@ +<!-- --- 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>Display CRL</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<SCRIPT LANGUAGE="JavaScript"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript"> +<!-- +if (navigator.appName == "Microsoft Internet Explorer") { + document.writeln('<META HTTP-EQUIV="Pragma" CONTENT="no-cache">'); +} +//--> +</SCRIPT> +</head> + +<CMS_TEMPLATE> + +<body bgcolor="#FFFFFF" link="#6666CC" vlink="#6666CC" alink="#333399"> +<font face="PrimaSans BT, Verdana, sans-serif" size="+1"> +Statistics +</font><br> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> +<br> + +<SCRIPT LANGUAGE="JavaScript"> +<!-- + document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%">'); + document.writeln('<tr align="left" bgcolor="#e5e5e5"><td align="left">'); + document.writeln('<font face="PrimaSans BT, Verdana, sans-serif" size="-1">'); + document.writeln('Detailed Information (Start Time <b>' + header.startTime + '</b>, Current Time: <b>' + header.curTime + '</b>)</font></td><td align=right><a href="getStats?op=clear">Clear Statistics</a></td></tr></table>'); + + document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); + document.writeln('<tr>'); + document.writeln('<td width="40%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('<b>Action</b></font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('<b># of operations</b></font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('<b>Time Taken (in msec)</b></font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('<b>Min</b></font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('<b>Max</b></font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('<b>Std Dev</b></font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('<b>Avg</b></font></td>'); + document.writeln('<td align="left">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('<b>Percentage</b></font></td>'); + document.writeln('</tr>'); + for (var i = 0; i <= recordCount; i++) { + if (result.recordSet[i].name.charAt(0) == '-') { + document.writeln('<tr><td>'); + } else { + document.writeln('<tr bgcolor="#cccccc"><td>'); + } + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(result.recordSet[i].name + '</font></td>'); + document.writeln('<td>'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(result.recordSet[i].noOfOp+'</font></td>'); + document.writeln('<td>'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(result.recordSet[i].timeTaken+'</font></td>'); + document.writeln('<td>'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + if (result.recordSet[i].max == -1) { + document.writeln('-</font></td>'); + } else { + document.writeln(result.recordSet[i].min+'</font></td>'); + } + document.writeln('<td>'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + if (result.recordSet[i].max == -1) { + document.writeln('-</font></td>'); + } else { + document.writeln(result.recordSet[i].max+'</font></td>'); + } + document.writeln('<td>'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + if (result.recordSet[i].stddev == -1) { + document.writeln('-</font></td>'); + } else { + document.writeln(result.recordSet[i].stddev+'</font></td>'); + } + document.writeln('<td>'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + if (result.recordSet[i].noOfOp == 0) { + document.writeln('-'); + } else { + document.writeln(Math.round(100*(result.recordSet[i].avg))/100); + } + document.writeln('</font></td>'); + document.writeln('<td>'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + if (result.recordSet[i].noOfOp == 0) { + document.writeln('-'); + } else { + document.writeln(Math.round(100*(result.recordSet[i].percentage))/100 + '%'); + } + document.writeln('</font></td>'); + document.writeln('</tr>'); + } + document.writeln('</table><br>'); + +//--> +</SCRIPT> + +</BODY> +</HTML> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/index.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/index.html new file mode 100644 index 000000000..b94135258 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/index.html @@ -0,0 +1,33 @@ +<!-- --- 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>OCSP Agent</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<link rel="shortcut icon" href="/pki/images/favicon.ico" /> +</head> + +<frameset rows="105,1*" frameborder="NO" border="0" cols="*"> + <frame src="/ocsp/agent/header?selected=ocsp" name="top" frameborder="NO" noresize scrolling="NO" marginwidth="0" marginheight="0"> + <frame src="frameListCA.html" scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0" name="middle"> +</frameset> +<noframes><body bgcolor="#FFFFFF"> +</body></noframes> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/listCAs.template b/base/ocsp/shared/webapps/ocsp/agent/ocsp/listCAs.template new file mode 100644 index 000000000..93cc6cdf3 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/listCAs.template @@ -0,0 +1,146 @@ +<!-- --- 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>List Certificate Authorities</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<SCRIPT LANGUAGE="JavaScript"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript"> +<!-- +if (navigator.appName == "Microsoft Internet Explorer") { + document.writeln('<META HTTP-EQUIV="Pragma" CONTENT="no-cache">'); +} +//--> +</SCRIPT> +</head> + +<CMS_TEMPLATE> + +<body bgcolor="#FFFFFF" link="#6666CC" vlink="#6666CC" alink="#333399"> +<font face="PrimaSans BT, Verdana, sans-serif" size="+1"> +List Certificate Authorities +</font><br> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> +<br> + +<SCRIPT LANGUAGE="JavaScript"> +<!-- + document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); + document.writeln('<tr align="left" bgcolor="#e5e5e5"><td align="left">'); + document.writeln('<font face="PrimaSans BT, Verdana, sans-serif" size="-1">'); + document.writeln('Server Status</font></td></tr></table>'); + + document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); + document.writeln('<tr>'); + document.writeln('<td align="left" width="5%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('• Number of pending updates:' + header.stateCount); + document.writeln('</font></td>'); + document.writeln('</tr>'); + + document.writeln('</table>'); + + document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); + document.writeln('<tr align="left" bgcolor="#e5e5e5"><td align="left">'); + document.writeln('<font face="PrimaSans BT, Verdana, sans-serif" size="-1">'); + document.writeln('Certificate Authorities</font></td></tr></table>'); + + document.writeln('<table border="0" cellspacing="2" cellpadding="2" width="100%">'); + + for(var i = 0; i < result.recordSet.length; ++i ) { + document.writeln('<tr>'); + document.writeln('<td align="left"><b>'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(result.recordSet[i].Id); + document.writeln('</font></b></td>'); + document.writeln('</tr>'); + document.writeln('<tr>'); + document.writeln('<td align="left" width="5%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('• CRL Number:' + result.recordSet[i].CRLNumber); + document.writeln('</font></td>'); + document.writeln('</tr>'); + document.writeln('<tr>'); + document.writeln('<td align="left" width="5%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('• This Update:' + result.recordSet[i].ThisUpdate); + document.writeln('</font></td>'); + document.writeln('</tr>'); + document.writeln('<tr>'); + document.writeln('<td align="left" width="5%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('• Next Update:' + result.recordSet[i].NextUpdate); + document.writeln('</font></td>'); + document.writeln('</tr>'); + document.writeln('<tr>'); + document.writeln('<td align="left" width="5%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('• Number of Revoked Certificates:' + result.recordSet[i].NumRevoked); + document.writeln('</font></td>'); + document.writeln('</tr>'); + document.writeln('<tr>'); + document.writeln('<td align="left" width="5%">'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('• Requests Served Since Startup:' + result.recordSet[i].ReqCount); + document.writeln('</font></td>'); + document.writeln('</tr>'); + document.writeln('<tr>'); + document.writeln('<td align="left" width="5%"><b>'); + document.writeln('<font size=-1 face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln('• Remove this CA from the list -'); + document.writeln('</font></b></td>'); + document.writeln('</tr>'); + document.writeln('<tr>'); + document.writeln('<td align ="left" width="5%">'); + document.writeln('<button onClick="removeCertificateAuthority( ' + i + ')" VALUE="removeca">Remove CA </button>'); + document.writeln('</td>'); + document.writeln('</tr>'); + document.writeln('<tr><td><br></td></tr>'); + } + document.writeln('</table>'); + document.writeln('</td></tr></table>'); + + function removeCertificateAuthority(caIndex) + { + var id = result.recordSet[caIndex].Id; + var url = null; + var sure = true; + + if(id) + url = "/ocsp/agent/ocsp/removeCA?caID="+id; + + if(url) { + if(caIndex == 0) + sure = confirm("Are you sure you want to remove the initial CA?\n" + id); + if(sure) + document.location=url; + } + } + +//--> +</SCRIPT> + +</BODY> +</HTML> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuAddCA.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuAddCA.html new file mode 100644 index 000000000..6b4419f78 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuAddCA.html @@ -0,0 +1,50 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399"> + <table border="0" cellspacing="4" cellpadding="4" width="100%"> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameListCA.html" target="middle"><b>List Certificate Authorities</b></a></font></td> + </tr> + <tr> + <td bgcolor="white"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCA.html" target="middle"><b><font color=black>Add Certificate Authority</font></b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCRL.html" target="middle"><b>Add Certificate Revocation List</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameCheckCert.html" target="middle"><b>Check Certificate Status</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameOCSP.html" target="middle"><b>OCSP Service</b></a></font></td> + </tr> + </table> +</body> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuAddCRL.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuAddCRL.html new file mode 100644 index 000000000..7da3025e3 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuAddCRL.html @@ -0,0 +1,50 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399"> + <table border="0" cellspacing="4" cellpadding="4" width="100%"> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameListCA.html" target="middle"><b>List Certificate Authorities</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCA.html" target="middle"><b>Add Certificate Authority</b></a></font></td> + </tr> + <tr> + <td bgcolor="white"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCRL.html" target="middle"><b><font color=black>Add Certificate Revocation List</font></b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameCheckCert.html" target="middle"><b>Check Certificate Status</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameOCSP.html" target="middle"><b>OCSP Service</b></a></font></td> + </tr> + </table> +</body> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuCheckCert.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuCheckCert.html new file mode 100644 index 000000000..2e4773a28 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuCheckCert.html @@ -0,0 +1,50 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399"> + <table border="0" cellspacing="4" cellpadding="4" width="100%"> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameListCA.html" target="middle"><b>List Certificate Authorities</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCA.html" target="middle"><b>Add Certificate Authority</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCRL.html" target="middle"><b>Add Certificate Revocation List</b></a></font></td> + </tr> + <tr> + <td bgcolor="white"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameCheckCert.html" target="middle"><b><font color=black>Check Certificate Status</font></b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameOCSP.html" target="middle"><b>OCSP Service</b></a></font></td> + </tr> + </table> +</body> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuListCA.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuListCA.html new file mode 100644 index 000000000..ac99b752a --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuListCA.html @@ -0,0 +1,50 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399"> + <table border="0" cellspacing="4" cellpadding="4" width="100%"> + <tr> + <td bgcolor="white"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="/ocsp/agent/ocsp/listCAs" target="content"><b><font color=black>List Certificate Authorities</font></b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCA.html" target="middle"><b>Add Certificate Authority</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCRL.html" target="middle"><b>Add Certificate Revocation List</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameCheckCert.html" target="middle"><b>Check Certificate Status</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameOCSP.html" target="middle"><b>OCSP Service</b></a></font></td> + </tr> + </table> +</body> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuOCSP.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuOCSP.html new file mode 100644 index 000000000..b019fe81f --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuOCSP.html @@ -0,0 +1,50 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399"> + <table border="0" cellspacing="4" cellpadding="4" width="100%"> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameListCA.html" target="middle"><b>List Certificate Authorities</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCA.html" target="middle"><b>Add Certificate Authority</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCRL.html" target="middle"><b>Add Certificate Revocation List</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameCheckCert.html" target="middle"><b>Check Certificate Status</b></a></font></td> + </tr> + <tr> + <td bgcolor="white"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameOCSP.html" target="middle"><b><font color=black>OCSP Service</font></b></a></font></td> + </tr> + </table> +</body> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuStats.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuStats.html new file mode 100644 index 000000000..f86dd059e --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/menuStats.html @@ -0,0 +1,54 @@ +<!-- --- 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>Untitled Document</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#333399"> + <table border="0" cellspacing="4" cellpadding="4" width="100%"> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameListCA.html" target="middle"><b>List Certificate Authorities</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCA.html" target="middle"><b>Add Certificate Authority</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameAddCRL.html" target="middle"><b>Add Certificate Revocation List</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameCheckCert.html" target="middle"><b>Check Certificate Status</b></a></font></td> + </tr> + <tr> + <td bgcolor="#999999"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameOCSP.html" target="middle"><b>OCSP Service</b></a></font></td> + </tr> + <tr> + <td bgcolor="white"><font size="-1" face="PrimaSans BT, Verdana, sans-serif"> + <a href="frameStats.html" target="middle"><b><font color=black>Statistics</font></b></a></font></td> + </tr> + </table> +</body> +</html> + diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/removeCA.template b/base/ocsp/shared/webapps/ocsp/agent/ocsp/removeCA.template new file mode 100755 index 000000000..7da892454 --- /dev/null +++ b/base/ocsp/shared/webapps/ocsp/agent/ocsp/removeCA.template @@ -0,0 +1,65 @@ +<!-- --- 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>Removing Certificate Authority</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<SCRIPT LANGUAGE="JavaScript"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js"></SCRIPT> +<SCRIPT LANGUAGE="JavaScript"> +<!-- +if (navigator.appName == "Microsoft Internet Explorer") { + document.writeln('<META HTTP-EQUIV="Pragma" CONTENT="no-cache">'); +} +//--> +</SCRIPT> +</head> + +<CMS_TEMPLATE> + +<body bgcolor="#FFFFFF" link="#6666CC" vlink="#6666CC" alink="#333399"> +<font face="PrimaSans BT, Verdana, sans-serif" size="+1"> +Removing Certificate Authority +</font><br> +<table border="0" cellspacing="0" cellpadding="0" background="/pki/images/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> +<br> + +<SCRIPT LANGUAGE="JavaScript"> +<!-- + document.writeln('Certificate authority has been removed'); + setTimeout ( goBackToList, 2000 ); + + if (result.header.error != null) { + document.write('\nAdditional information:\n '); + document.writeln(result.header.error); + } + + function goBackToList() { + document.location="/ocsp/agent/ocsp/listCAs"; + } +//--> +</SCRIPT> + +</BODY> +</HTML> + |