/
addCertForm.cfm
executable file
·54 lines (51 loc) · 2.01 KB
/
addCertForm.cfm
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
<!--- Copyright (c) 2011 Paul Connell <certman@paulconnell.info> --->
<cfinclude template="../header.cfm">
<h2 class="pageHeader"> SSL Certificates > Certificate Management > Add Certificate</h2>
<p>Please complete the form to add a certificate to the Keystore.</p>
<cfif IsDefined("url.error")>
<p style="font-size:larger;color:ff0000;"><cfoutput>Error: #url.error#</cfoutput></p>
</cfif>
<table border="0" cellpadding="5" cellspacing="0" width="100%">
<cfform name="add" id="add" action="addCert.cfm" method="post" enctype="multipart/form-data">
<tr>
<td bgcolor="#E2E6E7" class="cellBlueTopAndBottom">
<b>Add New Certificate</b>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="200">
<label for="alias"> Alias </label>
</td>
<td width="1000"><cfinput name="alias" type="text" maxlength="150" class="label" size="20" style="width:20em;" id="alias" required="true" message="Please enter a Certificate Alias."/>
</td>
</tr>
<tr>
<td style="vertical-align:top;">
<label for="pubkey"> Key File </label>
</td>
<td>
<cfinput type="file" required="true" name="pubkey" class="label" size="55" message="Please choose a keyfile." />
<br /><a href="##" onClick="javascript:document.getElementById('wherekey').style.display = 'inline';">Where do I get the Key File?</a>
<div style="display:none;" id="wherekey">
<h1>Where do I get the key from?</h1>
<ul>
<li>IE Certificates -> Copy to file (CER base64)</li>
<li>Firefox -> <a href="https://addons.mozilla.org/en-US/firefox/addon/1964" target="_blank">Cert Viewer Plus Add-On</a></li>
</ul>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="cellBlueTopAndBottom" bgcolor="#F3F7F7">
<input type="submit" name="AddCertificate" value=" Add "> <input type="button" name="Cancel" value="Cancel" onClick="document.location.href='index.cfm';">
</td>
</tr>
</table>
</td>
</tr>
</cfform>
</table>
<cfinclude template="footer.cfm">