opsec2022
Goto Top

Snakeoil Zertifikat auf ReadyNasOS erneuern

Hallo,

ich habe hier ein ReadyNAS 212 mit ReadyNASOS 6.10.7.

Im Dashboard lassen sich die Protokolle HTTP sowie HTTPS - auch nach einem OS Reinstall - nicht mehr aktivieren oder konfigurieren, komplett ausgegraut.

Systemctl verweist auf das Snakeoil Cert.

systemctl status apache2
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; disabled; vendor preset:
 enabled)
   Active: inactive (dead) since Tue 2022-09-06 09:56:51 CEST; 7min ago

Sep 06 09:56:51 gg-nas apachectl[5512]: AH00112: Warning: DocumentRoot [/var/www
/html] does not exist
Sep 06 09:56:51 gg-nas apachectl[5512]: AH00526: Syntax error on line 32 of /etc
/apache2/sites-enabled/default-ssl.conf:
Sep 06 09:56:51 gg-nas apachectl[5512]: SSLCertificateFile: file '/etc/ssl/certs  
/ssl-cert-snakeoil.pem' does not exist or is empty  
Sep 06 09:56:51 gg-nas apachectl[5512]: Action 'start' failed.  
Sep 06 09:56:51 gg-nas apachectl[5512]: The Apache error log may have more infor
mation.
Sep 06 09:56:51 gg-nas systemd[1]: apache2.service: Control process exit
ed, code=exited status=1
Sep 06 09:56:51 gg-nas systemd[1]: Failed to start The Apache HTTP Serve
r.
Sep 06 09:56:51 gg-nas systemd[1]: apache2.service: Unit entered failed
state.
Sep 06 09:56:51 gg-nas systemd[1]: apache2.service: Triggering OnFailure= depend
encies.

also ssl-cert installiert und erneuert.

apt-get install ssl-cert

dpkg -S make-ssl-cert

make-ssl-cert generate-default-snakeoil --force-overwrite

Response :

debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based fronteine 76.)

HTTPS lässt sich nach den Schritten aktivieren, HTTP immer noch komplett ausgegraut.

Evtl. hat hier jemand eine Idee

Gruß

OpSec

Content-Key: 3854452392

Url: https://administrator.de/contentid/3854452392

Printed on: April 20, 2024 at 03:04 o'clock

Member: Gentooist
Gentooist Sep 06, 2022 at 18:11:07 (UTC)
Goto Top
Debconf vermisst das Programm/Skript Dialog. Entweder hast du es nicht installiert, oder es befindet sich nicht im Suchpfad.

Installiere es mal hiermit:

apt-get install dialog

Und probiere dann dein make-ssl-cert nochmal. Es sollte nun klappen.