]> WPIA git - gigi.git/blob - src/club/wpia/gigi/pages/account/certs/CertificateIssueForm.templ
chg: hide "Show advanced options" checkbox when javascript is disabled
[gigi.git] / src / club / wpia / gigi / pages / account / certs / CertificateIssueForm.templ
1 <h3><?=_${appName} Acceptable Use Policy?></h3>
2 <p><?=_I hereby represent that I am fully authorized by the owner of the information contained in the CSR sent to ${appName} 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>
3
4 <p><?=_${appName}'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 ${appName}'s CPS and supporting documentation published !(/policy/CPS)here!'</a>'.?></p>
5
6 <p><?=_If the Subscriber's name and/or domain name registration change the subscriber will immediately inform ${appName} 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>
7 <span id="placeholderName" class="js-hint"><?=$placeholderName?></span>
8 <? if($defaultName) { ?>
9 <span id="defaultName" class="js-hint"><?=$defaultName?></span>
10 <span id="defaultEmail" class="js-hint"><?=$defaultEmail?></span>
11 <? } ?>
12 <? if($defaultDomain) { ?>
13 <span id="defaultDomain" class="js-hint"><?=$defaultDomain?></span>
14 <? } ?>
15 <table class="table">
16   <thead>
17   <tr>
18     <th colspan="2" class="title"><?=_New Certificate?></th>
19   </tr>
20   </thead>
21   <tbody>
22   <tr>
23     <td>
24       <label for='profile'><?=_Key type?></label>
25     </td>
26     <td>
27       <select name="profile" id='profile'>
28     <? foreach($profiles) { ?>
29         <option value="<?=$key?>"<?=$!selected?>><?=$name?></option>
30     <? } ?>
31       </select>
32       <br />
33       <?=_Select desired type. To have your name added to a certificate you need to get your name verified with at least 50 !'<a href="/wot/rules" target="blank">'Verification Points (VP)!'</a>'.?>
34     </td>
35   </tr>
36   <tr>
37     <td>
38       <label for='CN'><?=_Your name?></label>
39     </td>
40     <td>
41       <input class="form-control" type='text' id='CN' name='CN' value='<?=$CN?>'/>
42       <?=_For a client certificate you need to enter a name with at least 50 VP or '${appName} User' will be used.?><br />
43       <?=_For a server certificate leave this field blank.?>
44     </td>
45   </tr>
46   <tr>
47     <td>
48       <label for='SANs'>SANs</label>
49     </td>
50     <td align="left">
51       <textarea class="form-control" rows='5' name='SANs' placeholder="dns:my.domain.example.org, dns:*.example.org, email:my.email@example.org (or newline separated)"><?=$emails?></textarea><br />
52       <?=_Syntax for SAN?>: dns:my.domain.example.org, dns:*.example.org, email:my.email@example.org <?=_(or newline separated)?><br />
53       <?=_Recommendation for inexperienced users: only use one email address for client certificates.?>
54       </td>
55   </tr>
56   <? if($orga) { ?>
57   <tr>
58     <td><?=_Departement?></td>
59     <td align="left"><input type='text' name='OU' value='<?=$department?>'/></td>
60   </tr>
61   <? } ?>
62   <tr class="expertoff noscript-hidden">
63     <td class='check'>
64       <input type="checkbox" id="expertbox" name="expertbox"/>
65     </td>
66     <td align="left">
67       <label for="expertbox"><?=_Show advanced options?></label>
68     </td>
69   </tr>
70
71   <tr class="expert">
72         <td><?=_Hash algorithm for signing?></td>
73     <td class='gigi-radio'>
74       <? foreach($hashs) { ?>
75         <input type="radio" id="hash_alg_<?=$algorithm?>" name="hash_alg" value="<?=$algorithm?>"<?=$!checked?>/>
76         <label for="hash_alg_<?=$algorithm?>"><span class='name'><?=$name?></span><? if($info) { ?> <span class='addinfo'> <?=$info?></span><? } ?></label><div class='elements'></div>
77       <? } ?>
78     </td>
79   </tr>
80   <tr class="expert">
81     <td><?=_Valid period?></td>
82     <td>
83         <?=$validity?>(<?=_start: "now" or YYYY-MM-DD date, end: e.g. 2y, 6m or YYYY-MM-DD date?>)
84     </td>
85   </tr>
86   <tr><td colspan='2'>&nbsp;</td></tr>
87
88   <tr>
89     <td class='check'>
90       <input type="checkbox" id="login" name="login" value="1" checked="checked" />
91     </td>
92     <td align="left">
93       <label for="login"><?=_Enable certificate login with this certificate?></label><br />
94       <span><?=_By allowing certificate login, this certificate can be used to log into this account at ${secureHostname}.?><br />
95       <?=_Recommendation: Have at least one client certificate for login enabled.?></span>
96     </td>
97   </tr>
98   <tr>
99     <td colspan="2">
100       <label for="description"><?=_Optional description (max. 100 characters), only used in the certificate overview?></label><br />
101       <input class="form-control" type="text" id="description" name="description" maxlength="100" size="100" />
102     </td>
103   </tr>
104
105   <tr>
106     <td colspan="2">
107       <input class="btn btn-primary" type="submit" name="process" value="<?=_Issue Certificate?>" />  
108       <?=_Once the request is submitted, please be patient until the certificate is signed.?>
109     </td>
110   </tr>
111   </tbody>
112 </table>