Hallo,
habe hier ein Problem und komme absolut nicht mehr weiter. Egal wie sehr ich suche, ich finde den Fehler einfach nicht.
Vielleicht kann mir hier ja jemand weiter helfen.
Ich habe ein komplett neues System aufgesetzt:
- Image von Netcup
- Betriebssystem Debian Jessie mit Froxlor
Nun bin ich wie folgt vorgegangen, um ein SSL Zertifikat zu erstellen:
Nach Anleitung des Tutorials Videolink -> Tutorial
1. Habe ein neues Kundenkonto angelegt
2. Domain erstellt
forum.netcup.de/system/attachment/1652/
3. Unter Einstellungen habe ich die SSL Settings aktiviert
4. Einstelungen IP und Port
5. Nun habe ich unter root Rechten folgenden Befehl wie im Tutorial gezeigt eingegeben:
-# grep -r "Listen" /etc/apache2/
/etc/apache2/ports.conf:Listen 80
/etc/apache2/ports.conf: Listen 443
/etc/apache2/ports.conf: Listen 443
Sowie weitere Einstellungen laut Tutorial ausgeführt. Und den Befehl
ausgeführt. Sowie das SSL unter der Domain akitviert.
6. Nun habe ich den nächsten Befehlt laut Tutorial eingegeben:
und statt dem was im Tutorial angezeigt wird erscheint bei mir dann folgendes:
[error] xx.xx.xxx.xx:443 :: certificate file "/etc/apache2/apache2.pem" does not exist! Cannot create ssl-directives
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
die journalctl ergibt
-- Logs begin at Tue 2017-09-12 09:26:48 CEST, end at Tue 2017-09-12 11:40:01 CEST. --
Sep 12 11:39:51 v22017084879352777 sshd[2650]: Address 113.195.145.21 maps to 21.145.195.113.adsl-pool.jx.chinaunicom.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Sep 12 11:39:52 v22017084879352777 sshd[2650]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=113.195.145.21 user=root
Sep 12 11:39:54 v22017084879352777 sshd[2650]: Failed password for root from 113.195.145.21 port 57654 ssh2
Sep 12 11:39:56 v22017084879352777 sshd[2650]: Failed password for root from 113.195.145.21 port 57654 ssh2
Sep 12 11:39:59 v22017084879352777 sshd[2650]: Failed password for root from 113.195.145.21 port 57654 ssh2
Sep 12 11:39:59 v22017084879352777 sshd[2650]: Received disconnect from 113.195.145.21: 11: [preauth]
Sep 12 11:39:59 v22017084879352777 sshd[2650]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=113.195.145.21 user=root
Sep 12 11:40:01 v22017084879352777 CRON[2652]: pam_unix(cron:session): session opened for user root by (uid=0)
Sep 12 11:40:01 v22017084879352777 CRON[2653]: (root) CMD (/usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --tasks 1> /dev/null)
Sep 12 11:40:01 v22017084879352777 CRON[2652]: pam_unix(cron:session): session closed for user root
Alles anzeigen
Error lock:
[Tue Sep 12 09:25:20.631654 2017] [mpm_event:notice] [pid 7086:tid 139772635285376] AH00489: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 12 09:25:20.631806 2017] [core:notice] [pid 7086:tid 139772635285376] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 12 09:25:27.750064 2017] [mpm_event:notice] [pid 7086:tid 139772635285376] AH00491: caught SIGTERM, shutting down
[Tue Sep 12 09:25:28.905063 2017] [mpm_prefork:notice] [pid 8270] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 12 09:25:28.905281 2017] [core:notice] [pid 8270] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 12 09:25:30.570430 2017] [mpm_prefork:notice] [pid 8270] AH00169: caught SIGTERM, shutting down
[Tue Sep 12 09:25:31.888021 2017] [mpm_prefork:notice] [pid 8369] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 12 09:25:31.888122 2017] [core:notice] [pid 8369] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 12 09:26:11.689515 2017] [mpm_prefork:notice] [pid 8369] AH00171: Graceful restart requested, doing restart
[Tue Sep 12 09:26:11.956783 2017] [mpm_prefork:notice] [pid 8369] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 12 09:26:11.956830 2017] [core:notice] [pid 8369] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 12 09:26:20.942414 2017] [mpm_prefork:notice] [pid 8369] AH00169: caught SIGTERM, shutting down
[Tue Sep 12 09:26:22.133926 2017] [mpm_prefork:notice] [pid 15507] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 12 09:26:22.134038 2017] [core:notice] [pid 15507] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 12 09:26:32.006751 2017] [mpm_prefork:notice] [pid 15507] AH00169: caught SIGTERM, shutting down
[Tue Sep 12 09:27:01.735238 2017] [mpm_prefork:notice] [pid 657] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 12 09:27:01.736763 2017] [core:notice] [pid 657] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 12 09:35:02.755703 2017] [mpm_prefork:notice] [pid 657] AH00171: Graceful restart requested, doing restart
[Tue Sep 12 09:35:02.916797 2017] [mpm_prefork:notice] [pid 657] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Sep 12 09:35:02.917755 2017] [core:notice] [pid 657] AH00094: Command line: '/usr/sbin/apache2'
Alles anzeigen
Sehe langsam den Wals vor Lauter Bäumen nicht mehr, vielleicht weiß hier jemand Rat.
Viele Grüße und Danke schon mal