3ef995c2108fe77d22c0b556fb9717cb848bc48f
bernd CSR-Erstellung

bernd authored 16 years ago

1) <?php
Hanno Böck Add newlines before comment...

Hanno Böck authored 11 months ago

2) 
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 13 years ago

3) /*
4) This file belongs to the Webinterface of schokokeks.org Hosting
5) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 3 years ago

6) Written by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 13 years ago

7)   Bernd Wurst <bernd@schokokeks.org>
8)   Hanno Böck <hanno@schokokeks.org>
9) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 3 years ago

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

Bernd Wurst authored 13 years ago

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

bernd authored 16 years ago

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

bernd authored 15 years ago

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

bernd authored 16 years ago

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

Bernd Wurst authored 9 years ago

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

bernd authored 16 years ago

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

Bernd Wurst authored 13 years ago

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

Hanno Böck authored 2 years ago

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

Bernd Wurst authored 13 years ago

48) }