summaryrefslogtreecommitdiffstats
path: root/base/ca/shared/webapps/ca/ee/ca/CMCEnrollment.html
blob: 4e0ca29ad242ae06262a366f1c2787772e467319 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!-- --- 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>CMC Request Enrollment </TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">
function setType(f)
{
    if ((f.certType.options[0].selected)) {
        alert("You must select Certificate-Type");
        return;
    }
}

function validate(form)
{
  with (form) {
	 if (cmcRequest.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;
     }
  }
  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">
CMC Request Enrollment
</font><br>
  <Font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> 
  Use this form to submit a CMC full enrollment request.
<p> 
  After you click the Submit button, your request will be submitted to an
  issuing agent for approval. The certificate will be emailed to you. 
</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>CMC Full Enrollment Request</b><br>
Paste the CMC full enrollment request into this text area. 
      </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="cmcRequest" rows="10" cols="65" wrap="virtual">
</textarea>
      </td>
    </tr>

    <tr> 
      <td colspan="2" valign="TOP">
	  <font size=-1 face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">
	  <b>
	  Select Certificate Type
	  </b><br>
      </font>
	  <font face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif" size="-1"> 
        Select a certificate type that corresponds to the certificate request you pasted in the text area above. </font></td>
    </tr>

    <tr> 
      <td valign="TOP"> 
        <div align="RIGHT">
          <font size="-1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif">Certificate Type: </font> 
        </div>
      </td>
      <td valign="TOP"> 
        <SELECT NAME="certType" onchange="setType(document.forms[0])">
                <OPTION value="" SELECTED>Select Certificate-Type
                <OPTION value="client">User Certificate
                <OPTION value="server">Server SSL Certificate
                <OPTION value="ca">CA Signing Certificate
                <OPTION value="ra">RA Signing Certificate
                <OPTION value="ocspResponder">OCSP Responder Signing Certificate
        </SELECT>
      </td>
    </tr>

    <tr> 
      <td colspan="2" valign="TOP"><b><font face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif" size="-1">Contact Information<br>
        </font></b><font face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif" size="-1"> 
	</font></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 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="cmc">
		<input type="hidden" name="fullResponse" value="false">
                <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>
  </form>
</body>
</html>