security/nss/cmd/certcgi/main.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 <HTML>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5 <HEAD>
michael@0 6 <TITLE>Main Layer for CertOMatic</TITLE>
michael@0 7 </HEAD>
michael@0 8
michael@0 9 <form method="post" name="primary_form" action="http://interzone.mcom.com/burp.cgi">
michael@0 10 <table border=0 cellspacing=10 cellpadding=0>
michael@0 11 <tr>
michael@0 12 <td>
michael@0 13 Common Name:</td><td> <input type="text" name="name" onChange="{window.top.reset_subject('CN=', value, form)}"></p>
michael@0 14 </td>
michael@0 15 <td></td><td></td>
michael@0 16 <td>
michael@0 17 Organization: </td><td> <input type="text" name="org" onChange="{window.top.reset_subject('O=', value, form)}"></p></td>
michael@0 18 <tr>
michael@0 19 <td>
michael@0 20 <input type="radio" name="email_type" value="1" onClick="window.top.switch_mail(form)">MAIL=
michael@0 21
michael@0 22 <input type="radio" name="email_type" value="2" checked onClick="window.top.switch_mail(form)">E=
michael@0 23 </td>
michael@0 24 <td>
michael@0 25 <input type="text" name="email" onChange="var temp;{if (email_type[0].checked) {temp = 'MAIL='} else {temp = 'E='}} ;{window.top.reset_subject(temp, value, form)}">
michael@0 26 </td>
michael@0 27 <td></td><td></td><td>
michael@0 28 Organizational Unit: </td><td><input type="text" name="org_unit" onChange="{window.top.reset_subject('OU=', value, form)}"></p></td>
michael@0 29 <tr>
michael@0 30 <td>
michael@0 31 UID= </td><td><input type="text" name="uid" onChange="{window.top.reset_subject('UID=', value, form)}"></p></td>
michael@0 32 <td></td><td></td><td>
michael@0 33 Locality: </td><td><input type="text" name="loc" onChange="{window.top.reset_subject('L=', value, form)}"></p></td>
michael@0 34 <tr>
michael@0 35 <td>
michael@0 36 State or Province: </td><td><input type="text" name="state" onChange="{window.top.reset_subject('ST=', value, form)}"></p></td>
michael@0 37 <td></td><td></td><td>
michael@0 38 Country: </td><td><input type="text" size="2" name="country" onChange="{window.top.reset_subject('C=', value, form)}" maxlength="2"></p></td>
michael@0 39 <tr>
michael@0 40 <td COLSPAN=2>
michael@0 41 Serial Number:
michael@0 42 <DD><input type="radio" name="serial" value="auto" checked> Auto Generate
michael@0 43 <DD><input type="radio" name="serial" value="input">
michael@0 44 Use this hex value:&nbsp; <input type="text" name="serial_value" size="8" maxlength="8"></p>
michael@0 45 </td>
michael@0 46 <td></td> <td></td>
michael@0 47 <td COLSPAN=2>
michael@0 48 X.509 version:
michael@0 49 <DD><input type="radio" name="ver" value="1" onClick="if (this.checked) {window.top.set_ver1();}"> Version 1
michael@0 50 <DD><input type="radio" name="ver" value="3" checked onClick="if (this.checked) {window.top.set_ver3();}"> Version 3</P></td>
michael@0 51 <tr>
michael@0 52 <td COLSPAN=2>
michael@0 53 Key Type:
michael@0 54 <DD><input type="radio" name="keyType" value="rsa" checked> RSA
michael@0 55 <DD><input type="radio" name="keyType" value="dsa"> DSA</p>
michael@0 56 Intermediate CA Key Sizes:
michael@0 57 <DD><select name="keysize">
michael@0 58 <option>2048 (Very High Grade)
michael@0 59 <option>1024 (High Grade)
michael@0 60 <option>512 (Low Grade)
michael@0 61 </select>
michael@0 62 </td>
michael@0 63 <td></td> <td></td>
michael@0 64 <td COLSPAN=2>
michael@0 65 Validity:
michael@0 66 <DD><input type="radio" name="validity" value="auto" checked>
michael@0 67 Generate Automatically
michael@0 68 <DD><input type="radio" name="validity" value="man"> Use these values:
michael@0 69 <DD>Not Before:&nbsp; <input type="text" size="15" maxlength="17" name="notBefore">
michael@0 70 <DD>Not After:&nbsp;&nbsp;&nbsp; <input type="text" size="15" maxlength="17" name="notAfter">
michael@0 71 <DD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
michael@0 72 <FONT SIZE=-1><TT>YYMMDDhhmm[ss]{Z|+hhmm|-hhmm} </TT></FONT>
michael@0 73 </table>
michael@0 74 DN: <input type="text" name="subject" size="70" onChange="{window.top.reset_subjectFields(form)}"></P>
michael@0 75 </form>
michael@0 76 </HTML>

mercurial