Estou tentando usar certbot
em framboesa.
Consegui instalá-lo, instalei também libaugeas0
e augeas-lenses
apache2
está instalado, com SSL habilitado.
Mas quando executo o comando sudo certbot --apache
, recebo o seguinte erro:
The requested apache plugin does not appear to be installed
Como posso consertar isso?
Duas perguntas: (1) Como você instalou o certbot? (2) você pode postar os logs completos de /var/log/letsencrypt/letsencrypt.log
?
Claro que posso fazer isso!
>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
>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
Experimente: sudo apt-get install python-certbot-apache
:)
Eu tentei:
>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
Então tentei o nome antigo do pacote:
>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
Como pode certbot
estar disponível em framboesa quando python-certbot-apache
não está?
O mesmo problema aqui com o certbot instalado a partir do trecho raspbian. Isso funcionou para mim:
sudo apt-get install python-letsencrypt-apache
Obrigado por este post meu problema está resolvido. Coisa boa.
Estou tendo um problema semelhante no Fedora 26. Eu instalei certbot-apache
, tentei instalar python-letsencrypt-apache
mas falhou, tentei instalar python-certbot-apache
mas já está instalado. O conteúdo do meu /var/log/letsencrypt/letsencrypt.log
é o seguinte.
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 , espero que seu problema seja uma duplicata do # 5132, que fechei em favor do bug do upstream . Para contornar o problema:
dnf install python3-certbot-nginx
.A solução
Isso funcionou para mim em uma instância AWS EC2, usando pip
$ sudo -H pip install certbot-apache
Por precaução, instalei certbot
usando pip
também
Acabou aqui com o mesmo erro depois de usar o yum install certbot. teve que fazer separadamente yum install certbot-apache e problema resolvido.
Eu tive que correr
apt-get install python3-certbot python3-certbot-apache -t stretch
Durante uma tentativa de instalar o certbot no servidor Mac OS X (El Capitan) com a ajuda de MacPorts (em vez de HomeBrew), este comando foi necessário para obter sudo certbot --apache
execução:
sudo port install certbot-apache
.
Eu deduzi isso de acordo com os posts acima. Muito Obrigado!
Eu tive que correr
apt-get install python3-certbot python3-certbot-apache -t stretch
instalar o python3-certbot-apache resolveu isso no Fedora 28. Eu usei o yum.
no meu caso, o domínio não foi adicionado corretamente em hosts virtuais em "etc / apache2 / sites-enabled / .... conf"
Para registro, o problema Debian correspondente: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932444
isso resolveu para mim.
"apt-get install certbot"
Eu precisava instalar o certbot separadamente após instalar o certbot-apache
Comentários muito úteis
Experimente:
sudo apt-get install python-certbot-apache
:)