Certbot: "Le plugin apache demandé ne semble pas être installé" sur raspbian

Créé le 5 déc. 2016  ·  17Commentaires  ·  Source: certbot/certbot

J'essaie d'utiliser certbot sur raspbian.

J'ai réussi à l'installer, j'ai aussi installé libaugeas0 et augeas-lenses

apache2 est installé soit, avec SSL activé.

Mais lorsque j'exécute la commande sudo certbot --apache , j'obtiens l'erreur suivante :

The requested apache plugin does not appear to be installed

Comment puis-je résoudre cela?

apache more-info

Commentaire le plus utile

Essayez : sudo apt-get install python-certbot-apache :)

Tous les 17 commentaires

Deux questions : (1) Comment avez-vous installé certbot ? (2) pouvez-vous poster les logs complets de /var/log/letsencrypt/letsencrypt.log ?

Bien sûr que je peux le faire !

  1. J'ai installé certbot en utilisant apt :
>sudo apt-get install certbot -t stretch
>sudo certbot --apache
The requested apache plugin does not appear to be installed
>sudo apt-get install libaugeas0
The requested apache plugin does not appear to be installed
  1. Voici le contenu du fichier journal :
>sudo more /var/log/letsencrypt/letsencrypt.log.1
2016-12-06 00:12:46,080:DEBUG:certbot.main:Root logging level set at 20
2016-12-06 00:12:46,107:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-12-06 00:12:46,224:DEBUG:certbot.main:certbot version: 0.9.3
2016-12-06 00:12:46,226:DEBUG:certbot.main:Arguments: ['--apache']
2016-12-06 00:12:46,251:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryP
oint#manual,PluginEntryPoint#standalone)
2016-12-06 00:12:46,311:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2016-12-06 00:12:46,315:DEBUG:certbot.plugins.selection:No candidate plugin
2016-12-06 00:12:46,317:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None

Essayez : sudo apt-get install python-certbot-apache :)

J'ai essayé:

>sudo apt-get install python-certbot-apache
Package python-certbot-apache is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-certbot-apache' has no installation candidate

J'ai donc essayé l'ancien nom du paquet :

>sudo apt-get install python-letsencrypt-apache
Package python-letsencrypt-apache is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python-certbot-apache

E: Package 'python-letsencrypt-apache' has no installation candidate

Comment certbot peut-il être disponible dans raspbian alors que python-certbot-apache ne l'est pas ?

Même problème ici avec certbot installé à partir de raspbian stretch. Cela a fonctionné pour moi:

sudo apt-get install python-letsencrypt-apache

Merci pour ce post mon problème est résolu. Bon produit.

J'ai un problème similaire sur Fedora 26. J'ai installé certbot-apache , j'ai essayé d'installer python-letsencrypt-apache mais cela échoue, j'ai essayé d'installer python-certbot-apache mais il est déjà installé. Le contenu de mon /var/log/letsencrypt/letsencrypt.log est le suivant.
2017-10-08 09:52:18,310:DEBUG:certbot.main:certbot version: 0.18.2 2017-10-08 09:52:18,311:DEBUG:certbot.main:Arguments: ['--apache'] 2017-10-08 09:52:18,312:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot) 2017-10-08 09:52:18,331:DEBUG:certbot.log:Root logging level set at 20 2017-10-08 09:52:18,332:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log 2017-10-08 09:52:18,333:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache 2017-10-08 09:52:18,333:DEBUG:certbot.plugins.selection:No candidate plugin 2017-10-08 09:52:18,333:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None

@SethGower , je suppose que votre problème est un doublon de # 5132 que j'ai fermé en faveur du bogue en amont . Pour contourner le problème, soit :

  1. Utilisez l'exécutable "certbot-2".
  2. Exécutez dnf install python3-certbot-nginx .

La solution

Cela a fonctionné pour moi sur une instance AWS EC2, en utilisant pip

$ sudo -H pip install certbot-apache

Juste au cas où, j'ai installé certbot utilisant aussi pip

Je me suis retrouvé ici avec la même erreur après avoir utilisé yum install certbot. a dû faire séparément yum installer certbot-apache et le problème a été résolu.

je devais courir

apt-get install python3-certbot python3-certbot-apache -t stretch

Lors d'une tentative d'installation de certbot sur le serveur Mac OS X (El Capitan) à l'aide de MacPorts (au lieu de HomeBrew), cette commande était nécessaire pour exécuter sudo certbot --apache :
sudo port install certbot-apache .
Je l'ai déduit d'après les messages ci-dessus. Merci beaucoup!

je devais courir

apt-get install python3-certbot python3-certbot-apache -t stretch

l'installation de python3-certbot-apache a résolu ce problème sur Fedora 28. J'ai utilisé yum.

dans mon cas, le domaine n'a pas été correctement ajouté dans les hôtes virtuels dans "etc/apache2/sites-enabled/....conf"

Pour mémoire, le problème Debian correspondant : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932444

cela l'a résolu pour moi.
"apt-get install certbot"
J'avais besoin d'installer certbot séparément après avoir installé certbot-apache

Cette page vous a été utile?
0 / 5 - 0 notes