Erreur de certificat sur mon serveur : "Certificate renewing failed"

Bonjour,
J’ai depuis 2 jours une erreur sur le renouvellement du certificat de mon domaine.

Je copie le log du traitement :

error :

Certificate renewing for xxxxxxxx failed !

Here’s the tail of /var/log/yunohost/yunohost-cli.log, which might help to
investigate :

2020-06-16 22:56:19,896 DEBUG moulinette.authenticator.ldap init - initialize authenticator ‘as-root’ with: uri=‘ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth’
2020-06-16 22:56:21,032 INFO yunohost.backup backup_create - [1386.1] Création d’une archive de sauvegarde à partir des fichiers collectés …
2020-06-16 22:56:21,032 DEBUG yunohost.backup backup - [1386.1] Création de l’archive TAR de la sauvegarde …
2020-06-16 22:57:36,032 DEBUG yunohost.backup backup - [1386.1] L’archive TAR de la sauvegarde a été créée
2020-06-16 22:57:36,034 SUCCESS yunohost.backup success - [1386.1] Sauvegarde terminée
2020-06-16 22:57:36,034 DEBUG moulinette.actionsmap process - action [1386.1] executed in 81.095s
2020-06-16 22:57:36,301 DEBUG moulinette.actionsmap init - loading actions map namespace ‘yunohost’
2020-06-16 22:57:36,315 DEBUG moulinette.actionsmap init - extra parameter classes loaded: [‘comment’, ‘ask’, ‘password’, ‘required’, ‘pattern’]
2020-06-16 22:57:36,315 DEBUG moulinette.interface init - initializing base actions map parser for cli
2020-06-16 22:57:36,316 DEBUG moulinette.interface init - registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
2020-06-16 22:57:36,382 DEBUG moulinette.core acquire - acquiring lock…
2020-06-16 22:57:36,464 DEBUG moulinette.actionsmap process - loading python module yunohost.backup took 0.061s
2020-06-16 22:57:36,464 INFO moulinette.actionsmap process - processing action [1777.1]: yunohost.backup.list with args={‘human_readable’: False, ‘with_info’: False}
2020-06-16 22:57:36,465 DEBUG moulinette.actionsmap process - action [1777.1] executed in 0.000s
2020-06-16 22:57:36,620 DEBUG moulinette.actionsmap init - loading actions map namespace ‘yunohost’
2020-06-16 22:57:36,633 DEBUG moulinette.actionsmap init - extra parameter classes loaded: [‘comment’, ‘ask’, ‘password’, ‘required’, ‘pattern’]
2020-06-16 22:57:36,633 DEBUG moulinette.interface init - initializing base actions map parser for cli
2020-06-16 22:57:36,634 DEBUG moulinette.interface init - registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
2020-06-16 22:57:36,695 DEBUG moulinette.core acquire - acquiring lock…
2020-06-16 22:57:36,760 DEBUG moulinette.actionsmap process - loading python module yunohost.backup took 0.042s
2020-06-16 22:57:36,760 INFO moulinette.actionsmap process - processing action [1779.1]: yunohost.backup.delete with args={‘name’: ‘mediawiki-pre-upgrade1’}
2020-06-16 22:57:36,761 DEBUG yunohost.hook hook_list - [1779.1] No default hook for action ‘pre_backup_delete’ in /usr/share/yunohost/hooks/
2020-06-16 22:57:36,761 DEBUG yunohost.hook hook_list - [1779.1] No custom hook for action ‘pre_backup_delete’ in /etc/yunohost/hooks.d/
2020-06-16 22:57:36,765 DEBUG yunohost.hook hook_list - [1779.1] No default hook for action ‘post_backup_delete’ in /usr/share/yunohost/hooks/
2020-06-16 22:57:36,765 DEBUG yunohost.hook hook_list - [1779.1] No custom hook for action ‘post_backup_delete’ in /etc/yunohost/hooks.d/
2020-06-16 22:57:36,765 SUCCESS yunohost.backup success - [1779.1] La sauvegarde a été supprimée
2020-06-16 22:57:36,765 DEBUG moulinette.actionsmap process - action [1779.1] executed in 0.005s
2020-06-16 22:58:14,233 DEBUG moulinette.actionsmap init - loading actions map namespace ‘yunohost’
2020-06-16 22:58:14,249 DEBUG moulinette.actionsmap init - extra parameter classes loaded: [‘comment’, ‘ask’, ‘password’, ‘required’, ‘pattern’]
2020-06-16 22:58:14,249 DEBUG moulinette.interface init - initializing base actions map parser for cli
2020-06-16 22:58:14,250 DEBUG moulinette.interface init - registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
2020-06-16 22:58:14,318 DEBUG moulinette.core acquire - acquiring lock…
2020-06-16 22:58:14,400 DEBUG moulinette.actionsmap process - loading python module yunohost.user took 0.054s
2020-06-16 22:58:14,400 INFO moulinette.actionsmap process - processing action [2896.1]: yunohost.user.permission.update with args={‘add’: [‘visitors’], ‘remove’: None, ‘permission’: ‘mediawiki.main’}
2020-06-16 22:58:14,465 DEBUG moulinette.authenticator.ldap init - initialize authenticator ‘as-root’ with: uri=‘ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth’
2020-06-16 22:58:14,528 WARNING yunohost.user user_permission_update - [2896.1] Le groupe ‘visitors’ a déjà l’autorisation ‘mediawiki.main’ activée
2020-06-16 22:58:14,529 WARNING yunohost.user user_permission_update - [2896.1] Cette autorisation est actuellement accordée à tous les utilisateurs en plus des autres groupes. Vous voudrez probablement soit supprimer l’autorisation ‘all_users’, soit supprimer les autres groupes auxquels il est actuellement autorisé.
2020-06-16 22:58:14,529 WARNING yunohost.user user_permission_update - [2896.1] L’autorisation n’a pas été mise à jour car les demandes d’ajout/suppression correspondent déjà à l’état actuel.
2020-06-16 22:58:14,529 DEBUG moulinette.actionsmap process - action [2896.1] executed in 0.130s
2020-06-17 06:26:49,300 DEBUG moulinette.actionsmap init - loading actions map namespace ‘yunohost’
2020-06-17 06:26:49,375 DEBUG moulinette.actionsmap init - extra parameter classes loaded: [‘comment’, ‘ask’, ‘password’, ‘required’, ‘pattern’]
2020-06-17 06:26:49,375 DEBUG moulinette.interface init - initializing base actions map parser for cli
2020-06-17 06:26:49,376 DEBUG moulinette.interface init - registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
2020-06-17 06:26:49,463 DEBUG moulinette.core acquire - acquiring lock…
2020-06-17 06:26:49,519 DEBUG moulinette.core acquire - lock has been acquired
2020-06-17 06:26:49,869 DEBUG moulinette.actionsmap process - loading python module yunohost.domain took 0.350s
2020-06-17 06:26:49,869 INFO moulinette.actionsmap process - processing action [11658.1]: yunohost.domain.cert-renew with args={‘no_checks’: False, ‘force’: False, ‘domain_list’: [], ‘staging’: False, ‘email’: True}
2020-06-17 06:26:50,835 DEBUG moulinette.authenticator.ldap init - initialize authenticator ‘as-root’ with: uri=‘ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth’
2020-06-17 06:26:54,348 ERROR yunohost.certmanager certificate_renew - [11658.1] Certificate renewing for xxxxxxxx failed !
2020-06-17 06:26:54,348 ERROR yunohost.certmanager certificate_renew - [11658.1] Sending email with details to root …

Fin de la copie

Je vous remercie pour votre aide.

Edouardo GONCALVES

Est-ce que le diagnostique rapporte des erreurs à propos des domaines ?

A mon avis il faut faire:

apt full-upgrade
yunohost domain cert-renew

Et si ça ne marche pas:

yunohost domain cert-renew --force --no-checks

Ceci dit ça vaudrait peut être le coup de regarder précisément la source du problème, parce que j’ai eu le coup sur 2 serveurs distincts. Mon monitoring m’a prévenu en avance car il détecte ce genre de soucis de non renouvellement assez tôt.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.