a4247c64b1a2f9238a5a84a72ceeda3fafb8b414
bernd CSR-Erstellung

bernd authored 14 years ago

1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

2) /*
3) This file belongs to the Webinterface of schokokeks.org Hosting
4) 
Bernd Wurst Lizenzinfos in eigenes Modu...

Bernd Wurst authored 10 years ago

5) Written 2008-2014 by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

6)   Bernd Wurst <bernd@schokokeks.org>
7)   Hanno Böck <hanno@schokokeks.org>
8) 
9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10) 
11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
12) http://creativecommons.org/publicdomain/zero/1.0/
13) 
14) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
15) */
bernd CSR-Erstellung

bernd authored 14 years ago

16) 
17) require_once("certs.php");
18) require_role(ROLE_SYSTEMUSER);
19) 
20) 
bernd Benutze überall title() sta...

bernd authored 13 years ago

21) title("Neues Zertifikat (CSR) erzeugen");
bernd CSR-Erstellung

bernd authored 14 years ago

22) $section = 'vhosts_certs';
23) 
24) 
bernd Benutze überall title() sta...

bernd authored 13 years ago

25) output("<p>Mit dieser Funktion können Sie ein neues Zertifikat erzeugen lassen. Dabei wird ein so genannter 
bernd CSR-Erstellung

bernd authored 14 years ago

26) CSR (certifikate signing request) erzeugt. Diesen CSR müssen Sie dann (meistens per Webinterface) an 
27) Ihre Zertifizierungsstelle übergeben. Von dort erhalten Sie dann das fertige, unterschriebene 
28) Zertifikat zurück.</p>
29) 
30) <p>Um diese Funktion möglichst einfach zu halten, können Sie damit nicht alle Einstellungen
31) eines CSR festlegen. Insbesondere die Angabe des Inhabers wurde hier entfernt. CAcert (und andere 
32) günstige CAs) würde diese Zusatzinformationen sowieso aus dem Zertifikat entfernen. Für eigene 
33) Einstellungen stehen Ihnen die OpenSSL-Programme in Ihrem Benutzeraccount zur Verfügung.</p>
34) ");
35) 
Bernd Wurst Wildcard-CSRs können jetzt...

Bernd Wurst authored 11 years ago

36) $bitselect = array(2048 => 2048, 4096 => 4096);
bernd CSR-Erstellung

bernd authored 14 years ago

37) 
Bernd Wurst * Ermögliche SAN bei CSRs *...

Bernd Wurst authored 8 years ago

38) $form = '<p><label for="commonname">Domain-/Hostname:</label> <input type="text" name="commonname" id="commonname" /> (Mehrere Hostnames ggf. mit Komma trennen.)</p>
Bernd Wurst Letsencrypt vorbereitet und...

Bernd Wurst authored 8 years ago

39) <p><label for="bitlength">Bitlänge:</label> '.html_select('bitlength', $bitselect, 2048).'</p>