4c630eb1d90ef9c268aeff3700814575bdf24ed6
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 Copyright year update

Bernd Wurst authored 6 years ago

5) Written 2008-2018 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) 
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

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) 
21) $section = "vhosts_certs";
bernd Benutze überall title() sta...

bernd authored 13 years ago

22) title("Zertifikat zum CSR hinzufügen");
bernd CSR-Erstellung

bernd authored 14 years ago

23) 
24) $csr = csr_details($_REQUEST['id']);
25) 
Bernd Wurst Interface für Zertifikate i...

Bernd Wurst authored 7 years ago

26) output("<p>Wenn Ihr CSR von der Zertifizierungsstelle akzeptiert und unterschrieben wurde, erhalten Sie ein Zertifikat zurück.
bernd CSR-Erstellung

bernd authored 14 years ago

27) Dieses hat in etwa die Form
28) <pre>-----BEGIN CERTIFICATE-----
29) ...
30) -----END CERTIFICATE-----</pre>
31) und kann direkt unten eingetragen werden.</p>
32) 
33) <p>Bitte stellen Sie sicher, dass es sich um das richtige Zertifikat handelt. Der CSR wurde ausgestellt auf den 
34) Host-/Domainnamen <strong>{$csr['hostname']}</strong>. Nur das dazu passende Zertifikat wird akzeptiert.</p>
35) 
36) <p>Wenn die Überprüfung erfolgreich verläuft, wird der CSR in unserer Datenbank gelöscht, er wird nicht mehr benötigt.
37) Das Zertifikat und der private Schlüssel werden Ihnen umgehend für Ihre Websites zur Verfügung gestellt.</p>");
38) 
39) $form = '
40) <h4>Zertifikat:</h4>
41) <p><textarea name="cert" rows="10" cols="70"></textarea></p>
42) 
43) <p><input type="submit" value="Speichern" /></p>
44) 
45) ';
46) 
Bernd Wurst Neuer Workflow für Cert-Rep...

Bernd Wurst authored 11 years ago

47) $replace = '';
48) if ($csr['replace']) {
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

49)     $replace="&replace={$csr['replace']}";