summaryrefslogtreecommitdiff
path: root/pages/account/20.php
blob: 89bbc308785417354c36150cc78946c2f6cef6ec (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
<? /*
    LibreSSL - CAcert web application
    Copyright (C) 2004-2008  CAcert Inc.

    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
*/
	include_once("../includes/shutdown.php");
?>
<h3><?=_("CAcert Certificate Acceptable Use Policy")?></h3>
<p><?=_("Once you decide to subscribe for an SSL Server Certificate you will need to complete this agreement. Please read it carefully. Your Certificate Request can only be processed with your acceptance and understanding of this agreement.")?></p>

<p><?=_("I hereby represent that I am fully authorized by the owner of the information contained in the CSR sent to CAcert Inc. to apply for an Digital Certificate for secure and authenticated electronic transactions. I understand that a digital certificate serves to identify the Subscriber for the purposes of electronic communication and that the management of the private keys associated with such certificates is the responsibility of the subscriber's technical staff and/or contractors.")?></p>

<p><?=_("CAcert Inc.'s public certification services are governed by a CPS as amended from time to time which is incorporated into this Agreement by reference. The Subscriber will use the SSL Server Certificate in accordance with CAcert Inc.'s CPS and supporting documentation published at")?> <a href="http://www.cacert.org/policy/">http://www.cacert.org/policy/</a></p>

<p><?=_("If the Subscriber's name and/or domain name registration change the subscriber will immediately inform CAcert Inc. who shall revoke the digital certificate. When the Digital Certificate expires or is revoked the company will permanently remove the certificate from the server on which it is installed and will not use it for any purpose thereafter. The person responsible for key management and security is fully authorized to install and utilize the certificate to represent this organization's electronic presence.")?></p>

<form method="post" action="account.php">
<p><label for="description"><?=_("Optional comment, only used in the certificate overview")?></label><br />
	<input type="text" id="description" name="description" maxlength="80" size="80" />
</p>
<p><label for="CSR"><?=_("Paste your CSR (Certificate Signing Request) below...")?></label><br />
	<textarea id="CSR" name="CSR" cols="80" rows="15"></textarea>
</p>

<fieldset>
<legend>
	<input type="checkbox" id="expertbox" onchange="showExpert(this.checked)" style="display:none" />
	<label for="expertbox"><?=_("Advanced Options")?></label>
</legend>
<div id="advanced_options">
<ul class="no_indent">
	<li>
		<input type="radio" id="root1" name="rootcert" value="1" />
		<label for="root1"><?=_("Sign by class 1 root certificate")?></label>
	</li>
	<li>
		<input type="radio" id="root2" name="rootcert" value="2" checked="checked" />
		<label for="root2"><?=_("Sign by class 3 root certificate")?></label>
	</li>
</ul>
<p><?=_("Please note: The class 3 root certificate needs to be setup in your webserver as a chained certificate, while slightly more complicated to setup, this root certificate is more likely to be trusted by more people.")?></p>

<p class="attach_ul"><?=_("Hash algorithm used when signing the certificate:")?></p>
<ul class="no_indent">
<?
foreach (HashAlgorithms::getInfo() as $algorithm => $display_info) {
?>
	<li>
		<input type="radio" id="hash_alg_<?=$algorithm?>" name="hash_alg" value="<?=$algorithm?>" <?=(HashAlgorithms::$default === $algorithm)?'checked="checked"':''?> />
		<label for="hash_alg_<?=$algorithm?>"><?=$display_info['name']?><?=$display_info['info']?' - '.$display_info['info']:''?></label>
	</li>
<?
}
?>
</ul>

</div>
</fieldset>

<input type="submit" name="process" value="<?=_("Submit")?>" />
<input type="hidden" name="oldid" value="<?=$id?>" />
</form>

<script language="javascript">
function showExpert(a)
{
	var options=document.getElementById("advanced_options");
	options.style.display = (a) ? "" : "none";

	var checkbox=document.getElementById("expertbox");
	checkbox.style.display = "";
}
showExpert(false);
</script>