]> WPIA git - gigi.git/blob - src/club/wpia/gigi/pages/account/certs/RequestCertificate.templ
7995d6a9968d63a9a9d743b4484a8c0c216bc49c
[gigi.git] / src / club / wpia / gigi / pages / account / certs / RequestCertificate.templ
1 <p><?=_${appName} offers two ways to create a certificate.?>
2 <?=_One is to paste a certificate signing request (CSR) created from an existing or newly created private key.?> <?=_If you do not know what a CSR is or how to create one take a look at the !(/wiki/CSR)FAQ!'</a>'.?> 
3 <?=_As an alternative you can generate the private key inside your browser and export it once the certificate has been issued.?></p>
4 <form method="post">
5 <table class="table">
6   <thead>
7   <tr>
8     <th colspan="2" class="title"><?=_New Certificate from CSR?></th>
9   </tr>
10   </thead>
11   <tbody>
12   <tr>
13     <td><?=_I have some existing public key (SPKI) or signing request (CSR) I want to sign. Paste it here:?></td>
14     <td>
15       <textarea class="form-control" name="CSR" class="csr" rows="10" cols="80"></textarea>
16     </td>
17   </tr>
18   <tr>
19     <td colspan="2">
20       <input class="btn btn-primary" type="submit" name="process" value="<?=_Next?>" />
21       <input type='hidden' name='<?=$csrf_name?>' value='<?=$csrf?>'>
22     </td>
23   </tr>
24   </tbody>
25 </table>
26 </form>
27 <form method="post">
28 <table class="table">
29   <thead>
30   <tr>
31     <th colspan="2" class="title"><?=_Create a fresh key in the browser (SPKAC)?></th>
32   </tr>
33   </thead>
34   <tbody>
35   <tr>
36     <td><?=_I do not have a CSR.?></td>
37     <td align="left">
38       <?=_key size (2048 recommended)?>: <keygen name="SPKAC" challenge="<?=$spkacChallenge?>"/>
39     </td>
40   </tr>
41   <tr>
42     <td colspan="2">
43      <input class="btn btn-primary" type="submit" name="process" value="<?=_Next?>" />
44      <input type='hidden' name='<?=$csrf_name?>' value='<?=$csrf?>'>
45     </td>
46   </tr>
47   </tbody>
48 </table>
49 </form>