summaryrefslogtreecommitdiffstats
path: root/base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html
diff options
context:
space:
mode:
Diffstat (limited to 'base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html')
-rw-r--r--base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html213
1 files changed, 213 insertions, 0 deletions
diff --git a/base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html b/base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html
new file mode 100644
index 0000000..820c1aa
--- /dev/null
+++ b/base/ca/shared/webapps/ca/ee/ca/ObjSignPKCS10Enroll.html
@@ -0,0 +1,213 @@
+<!-- --- 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>Request an Object Signing Certificate</TITLE>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<SCRIPT LANGUAGE="JavaScript">
+function setSignType(f)
+{
+ if ((f.certType.options[0].selected)) {
+ alert("You must select Signing-Type");
+ return;
+ }
+ else if (f.certType.options[1].selected)
+ f.object_signing.value = true;
+ else if (f.certType.options[2].selected)
+ f.object_signing.value = false;
+}
+
+function validate(form)
+{
+ if ((form.certType.options[0].selected)) {
+ alert("You must select Signing-Type");
+ return false;
+ }
+
+ with (form) {
+ if (pkcs10Request.value == "")
+ {
+ alert("You must enter the base64-encoded certificate request.");
+ return false;
+ }
+ if (csrRequestorName.value == "" || ((csrRequestorEmail.value == "") && (csrRequestorPhone.value == ""))) {
+ alert("You must supply a name and either a phone number or an email address.");
+ return false;
+ }
+ }
+ // form.submit();
+ return true;
+}
+</SCRIPT>
+
+<SCRIPT LANGUAGE="JavaScript" SRC="../helpfun.js">
+
+</SCRIPT>
+</head>
+<body bgcolor="#FFFFFF">
+<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
+Object Signing Certificate Enrollment</font><br>
+ <font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
+ Use this form to submit a request for an object signing certificate. After you click the Submit button, your request will be submitted to an issuing agent for approval. When an issuing agent has approved your request you will receive the certificate in email, along with instructions for installing it.
+</font>
+<form method="post" action="/enrollment"
+onSubmit="return validate(document.forms[0])">
+ <table border="0" width="100%" cellspacing="2" cellpadding="2">
+ <tr>
+ <td colspan="2" valign="TOP">
+ <font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
+ <b>PKCS #10 Request</b><br>
+ Paste the PKCS #10 request into this text area.
+ </font></td>
+ </tr>
+ <tr>
+ <td valign="TOP">
+ <div align="RIGHT">
+ </div>
+ </td>
+ <td valign="TOP">
+ <textarea name="pkcs10Request" rows="10" cols="65" wrap="virtual">
+</textarea>
+ </td>
+ </tr>
+
+ <td valign="TOP">
+ <div align="RIGHT">
+ <font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
+ </font>
+ </div>
+ </td>
+ <td valign="TOP">
+ <input type="HIDDEN" value="true" name="ObjectSigning">
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" valign="TOP">&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td colspan="2" valign="TOP">
+ <font size=-1 face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
+ <b>
+ Select Signing Type
+ </b><br>
+ </font>
+ <font face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif" size="-1">
+ Select a signing type that the certificate will be used. </font></td>
+ </tr>
+
+ <tr>
+ <td valign="TOP">
+ <div align="RIGHT">
+ <font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">Signing Type: </font>
+ </div>
+ </td>
+ <td valign="TOP">
+ <SELECT NAME="certType" onchange="setSignType(document.forms[0])">
+ <OPTION value="" SELECTED>Select Signing-Type
+ <OPTION value="client">Netscape Object-Signing
+ <OPTION value="codeSignClient">Microsoft Authenticode
+ </SELECT>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2" valign="TOP">
+ <font face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif" size="-1">
+ <b>Contact Information<br></b>
+ </td>
+ </tr>
+ <tr>
+ <td valign="TOP">
+ <div align="RIGHT">
+ <font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">Name: </font>
+ </div>
+ </td>
+ <td valign="TOP">
+ <input type="TEXT" name="csrRequestorName" size="30">
+ </td>
+ </tr>
+ <tr>
+ <td valign="TOP">
+ <div align="RIGHT">
+ <font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">Email: </font>
+ </div>
+ </td>
+ <td valign="TOP">
+ <input type="TEXT" name="csrRequestorEmail" size="30">
+ </td>
+ </tr>
+ <tr>
+ <td valign="TOP">
+ <div align="RIGHT">
+ <font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">Phone: </font>
+ </div>
+ </td>
+ <td valign="TOP">
+ <input type="TEXT" name="csrRequestorPhone" size="30">
+ </td>
+ </tr>
+ <tr>
+ <td valign="TOP" colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td valign="TOP" colspan="2"><font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
+ <b>Additional Comments </b><br>
+ If you have any additional comments for the person who will process
+ your certificate request, write them here. </font></td>
+ </tr>
+ <tr>
+ <td valign="TOP">
+ <div align="RIGHT">
+ <font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"></font>
+ </div>
+ </td>
+ <td valign="TOP">
+ <textarea name="csrRequestorComments" rows="10" cols="65" wrap="virtual">
+</textarea>
+ </td>
+ </tr>
+ <tr>
+ <td valign="TOP" colspan="2">
+ <table border="0" width="100%" cellspacing="0" cellpadding="6" bgcolor="#cccccc" background="/pki/images/gray90.gif">
+ <tr>
+ <td>
+ <div align="RIGHT">
+ <input type="submit" value="Submit" name="submit" width="72">
+ <input type="hidden" name="requestFormat" value="pkcs10">
+ <!-- <input type="hidden" name="certType" value="client">-->
+ <!-- for Netscape Certificate Type Extension -->
+ <input type="HIDDEN" value="true" name="object_signing">
+ <!-- for Key Usage Extension -->
+ <input type="HIDDEN" name="digital_signature" value=true>
+ <input type="HIDDEN" name="key_certsign" value=true>
+ <img src="/pki/images/spacer.gif" width="6" height="6">
+ <input type="reset" value="Reset" name="reset" width="72">
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <input type=hidden name="reencodeSubjectName" value="true">
+ </form>
+</body>
+</html>