Bonjour,
Je rencontre un problème pour renouveler mon certificat SSL, voici l’erreur qui s’affiche sur PUTTY :
$ sudo chmod a+x ./certbot-auto
$ ./certbot-auto --apache -d domaine.com
Requesting to rerun ./certbot-auto with root privileges...
WARNING: unable to check for updates.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
An unexpected error occurred:
SSLError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
Please see the logfiles in /var/log/letsencrypt for more details.
$
Avez-vous une idée d’où vient ce problème ?
Merci par avance de votre aide.
iPapy
Août 18, 2020, 7:33
2
Bonjour @Romesl
Les port 80 et 443 sont bien ouverts sur ta box opérateur et bien redirigé vers ta machine sur laquelle tu veux renouveler le certificat ?
Il doit manquer un sudo ???
@iPapy : Oui, j’ai bien redirigé les ports… j’ai vérifié et peux accéder à Jeedom sans https
@Jeandhom : J’ai suivi le tuto domo-blog https://www.domo-blog.fr/securiser-jeedom-https-certificat-ssl-dote-nouveau-challenge-http-01/2/ et jusqu’à maintenant, je n’ai jamais rencontré ce problème…
Toms
Août 18, 2020, 12:26
5
Lo,
Avec un terminal peux tu rentrer la ligne suivante:
sudo systemctl status apache2
et faire un screen, merci
Salut @Toms
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/apache2.service.d
└─privatetmp.conf
Active: active (running) since Mon 2021-02-15 04:37:44 CET; 14h ago
Process: 22088 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCESS)
Process: 22093 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 22097 (apache2)
Tasks: 12 (limit: 4915)
CGroup: /system.slice/apache2.service
├─14711 /usr/sbin/apache2 -k start
├─16873 /usr/sbin/apache2 -k start
├─16875 /usr/sbin/apache2 -k start
├─22097 /usr/sbin/apache2 -k start
├─22118 /usr/sbin/apache2 -k start
├─22160 /usr/sbin/apache2 -k start
├─26296 /usr/sbin/apache2 -k start
├─27255 /usr/sbin/apache2 -k start
├─27256 /usr/sbin/apache2 -k start
├─27257 /usr/sbin/apache2 -k start
├─27494 /usr/sbin/apache2 -k start
└─31791 /usr/sbin/apache2 -k start
Feb 15 18:16:50 Jeedom sudo[25702]: pam_unix(sudo:session): session closed for user root
Feb 15 19:00:03 Jeedom sudo[14891]: www-data : TTY=unknown ; PWD=/var/www/html/core/ajax ; USER=root ; COMMAND=/bin/chmod 664 /var/www/html/core/class/../../
Feb 15 19:00:03 Jeedom sudo[14891]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 15 19:00:03 Jeedom sudo[14891]: pam_unix(sudo:session): session closed for user root
Feb 15 19:00:03 Jeedom sudo[14915]: www-data : TTY=unknown ; PWD=/var/www/html/core/ajax ; USER=root ; COMMAND=/bin/chmod 664 /var/www/html/core/class/../../
Feb 15 19:00:03 Jeedom sudo[14915]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 15 19:00:03 Jeedom sudo[14915]: pam_unix(sudo:session): session closed for user root
Feb 15 19:00:05 Jeedom sudo[15001]: www-data : TTY=unknown ; PWD=/var/www/html/core/ajax ; USER=root ; COMMAND=/bin/chmod 664 /var/www/html/core/class/../../
Feb 15 19:00:05 Jeedom sudo[15001]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 15 19:00:05 Jeedom sudo[15001]: pam_unix(sudo:session): session closed for user root
Warning: apache2.service changed on disk. Run 'systemctl daemon-reload' to reload units.
lines 1-34/34 (END)