354c05a4ddd678c49bcbba458bffa7d13482139a
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) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 1 year ago

5) Written 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) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 1 year ago

9) This code is published under a 0BSD license.
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

10) 
11) 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.
12) */
bernd CSR-Erstellung

bernd authored 14 years ago

13) 
14) require_once('certs.php');
15) require_role(ROLE_SYSTEMUSER);
16) 
17) 
18) $section = "vhosts_certs";
bernd Benutze überall title() sta...

bernd authored 13 years ago

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

bernd authored 14 years ago

20) 
21) $csr = csr_details($_REQUEST['id']);
22) 
Bernd Wurst Interface für Zertifikate i...

Bernd Wurst authored 7 years ago

23) 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

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

Bernd Wurst authored 11 years ago

44) $replace = '';
45) if ($csr['replace']) {
Hanno Böck codingstyle, spaces between...

Hanno Böck authored 8 months ago

46)     $replace = "&replace={$csr['replace']}";
Bernd Wurst Neuer Workflow für Cert-Rep...

Bernd Wurst authored 11 years ago

47) }