Elle a produit cette sortie :
[Fri Dec 14 17:18:32 CET 2018] Domains not changed.
[Fri Dec 14 17:18:32 CET 2018] Skip, Next renewal time is: Sun Feb 3 18:11:06 UTC 2019
[Fri Dec 14 17:18:32 CET 2018] Add ‘–force’ to force to renew.
Mon serveur Web est (inclure la version) : nginx
Quand je test mon certificat j’obtiens |Common names |chat.hugoclo411.xyz|
|—|---|
|Alternative names |chat.hugoclo411.xyz cloud.hugoclo411.xyz|
|Valid from |Sun, 16 Sep 2018 03:41:14 UTC|
|Valid until |Sat, 15 Dec 2018 03:41:14 UTC (expires in 11 hours and 15 minutes)|
|Key |RSA 2048 bits (e 65537)|
|Weak key (Debian) |No|
La commande me dit que mon certificat ne peut pas être renouvelé ac valide jusqu’en Février 2019 mais lorsque je le test il n’est plus valide le 15 décembre.
J’ai essayé avec --force cela renouvelle le certificat mais la date ne change pas.
autre commande aprés la 1er
acme.sh --install-cert -d chat.hugoclo411.xyz --ecc \
systemctl reload nginx.service
no change nginx -t :
nginx: [warn] “ssl_stapling” ignored, issuer certificate not found for certificate “/etc/nginx/ssl/server.crt”
nginx: [warn] conflicting server name “_” on 0.0.0.0:443, ignored
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
I think what you mean is: if you run nginx -T instead of nginx -t, it will dump all configuration files to stdout, which might be even more informative. Note however that it is only available on newer versions of Nginx.
I see only cloud - and it is using chat cert: server_name cloud.hugoclo411.xyz; ssl_certificate /etc/letsencrypt/live/chat.hugoclo411.xyz/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/chat.hugoclo411.xyz/privkey.pem;
Maybe you do have a vhost config file chat.hugoclo411.xyz.
But the file was just not correctly included into the main config.
Please show: grep -Eri 'chat.hugo|server_name|server_alias|:443|ssl_cert|include' /etc/nginx/
/etc/nginx/nginx.conf: include /etc/nginx/sites-enabled/*.conf; /etc/nginx/sites-enabled/rocket.conf: server_name chat.hugoclo411.xyz;
The config include statement should include it.
But it was not found in the nginx -T upload.
Cert is due for renewal, auto-renewing...
Error while running nginx -c /etc/nginx/nginx.conf -t.
nginx: [emerg] invalid number of arguments in "include" directive in /etc/nginx/nginx.conf:13
nginx: configuration file /etc/nginx/nginx.conf test failed
Could not choose appropriate plugin: The nginx plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] invalid number of arguments in "include" directive in /etc/nginx/nginx.conf:13\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
Attempting to renew cert (chat.hugoclo411.xyz) from /etc/letsencrypt/renewal/chat.hugoclo411.xyz.conf produced an unexpected error: The nginx plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] invalid number of arguments in "include" directive in /etc/nginx/nginx.conf:13\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',). Skipping.
Cert not yet due for renewal
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/chat.hugoclo411.xyz/fullchain.pem (failure)
The following certs are not due for renewal yet:
/etc/letsencrypt/live/hugoclo411.xyz/fullchain.pem expires on 2019-01-29 (skipped)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/chat.hugoclo411.xyz/fullchain.pem (failure)