Https please help

Bonjour, avant tout j’espère être au bon endroit.

J’ai voulu suivre ce tuto > Comment sécuriser l'accès à Jeedom en HTTPS avec un certificat SSL gratuit - Page 2 sur 3 , pour envisager un accès Https, cependant je rencontre quelques problèmes :

Lorsque j’ai tenté la révocation de l’ancien certificat le résultat de la première commande a été ceci :

sudo: /opt/letsencrypt/letsencrypt-auto : commande introuvable

J’ai continué les étapes sans trop de soucis jusqu’a :

sudo apachectl configtest
AH00526: Syntax error on line 10 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file ‹ /etc/letsencrypt/live/XXXXXXX.ovh/fullchain.pem › does not exist or is empty
Action ‹ configtest › failed.
The Apache error log may have more information.

Mais la je sèche je n’y connais absolument rien.

Je n’ai même plus a accès a jeedom.

Si cela peut aider , j’ai fait ca :

systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─override.conf
/etc/systemd/system/apache2.service.d
└─privatetmp.conf
Active: activating (auto-restart) (Result: exit-code) since Wed 2021-10-13 14:27:20 CEST; 5s ago
Docs: Apache HTTP Server Version 2.4 Documentation - Apache HTTP Server Version 2.4
Process: 10499 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit apache2.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
oct. 13 14:34:49 raspberrypi systemd[1]: apache2.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit apache2.service has entered the 'failed' state with result 'exit-code'.
oct. 13 14:34:49 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: L'unité (unit) apache2.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unité (unit) apache2.service a échoué, avec le résultat failed.
oct. 13 14:34:59 raspberrypi systemd[1]: apache2.service: Service RestartSec=10s expired, scheduling restart.
oct. 13 14:34:59 raspberrypi systemd[1]: apache2.service: Scheduled restart job, restart counter is at 158.
-- Subject: Le redémarrage automatique d'une unité (unit) a été planifié
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Le redémarrage automatique de l'unité (unit) apache2.service a été planifié, en
-- raison de sa configuration avec le paramètre Restart=.
oct. 13 14:34:59 raspberrypi systemd[1]: Stopped The Apache HTTP Server.
-- Subject: L'unité (unit) apache2.service a terminé son arrêt
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unité (unit) apache2.service a terminé son arrêt.
oct. 13 14:34:59 raspberrypi systemd[1]: Starting The Apache HTTP Server...
-- Subject: L'unité (unit) apache2.service a commencé à démarrer
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unité (unit) apache2.service a commencé à démarrer.
oct. 13 14:35:00 raspberrypi apachectl[12370]: AH00526: Syntax error on line 10 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
oct. 13 14:35:00 raspberrypi apachectl[12370]: SSLCertificateFile: file '/etc/letsencrypt/live/XXXXXXX.ovh/fullchain.pem' does not exist or is empty
oct. 13 14:35:00 raspberrypi apachectl[12370]: Action 'start' failed.
oct. 13 14:35:00 raspberrypi apachectl[12370]: The Apache error log may have more information.
oct. 13 14:35:00 raspberrypi systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit apache2.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
oct. 13 14:35:00 raspberrypi systemd[1]: apache2.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit apache2.service has entered the 'failed' state with result 'exit-code'.
oct. 13 14:35:00 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: L'unité (unit) apache2.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unité (unit) apache2.service a échoué, avec le résultat failed.

Lo,

Tu peux t’inspirer de ce site pour mettre en place ton acc§s https,
Au besoin, n’hésite pas,

Au plaisir, bonne journée,

EDIT: voici le lien merci @Bison

Tu as oublié de mettre le site auquel tu pensais Toms :wink:

1 « J'aime »