Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-18, 05:58:42

Author Topic: letsencrypt installer fails  (Read 43109 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: letsencrypt installer fails
« Reply #30 on: 2016-05-11, 13:46:13 »
Kelihatannya masalahnya pada versi python. Oleh karena itu sekarang sedang coba untuk ganti program letsencrypt-auto (berbasis python) dengan acme.sh (berbasis bash) sehingga saya berharap bisa compatible untuk CentOS 5 dan 6.

Sembari menunggu konfirmasi dengan 'pembuat' hiawatha tentang masalah gagal akses ke /.well-known.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline digidata

  • Junior Member
  • *
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: letsencrypt installer fails
« Reply #31 on: 2016-05-11, 15:17:45 »
Any solution?

Code: [Select]
Nothing to do
Checking for new version...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Requesting root privileges to run letsencrypt...
   /root/.local/share/letsencrypt/bin/letsencrypt --version
letsencrypt 0.5.0


And when in admin panel trying to create: Alert: Create Certificate failed

CentOS 5

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: letsencrypt installer fails
« Reply #32 on: 2016-05-11, 15:47:56 »
Any solution?

Code: [Select]
Nothing to do
Checking for new version...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Requesting root privileges to run letsencrypt...
   /root/.local/share/letsencrypt/bin/letsencrypt --version
letsencrypt 0.5.0


And when in admin panel trying to create: Alert: Create Certificate failed

CentOS 5
Using 'file manager', go to '/var/log/letsencrypt' and investigate log file.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline noob

  • Valuable Member
  • *
  • Posts: 98
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • KombatHost
Re: letsencrypt installer fails
« Reply #33 on: 2016-05-11, 16:02:40 »
Any solution?

And when in admin panel trying to create: Alert: Create Certificate failed

CentOS 5

check log, on my problem, when i check log there's error on webmail.domain.tld, so i remove webmail.domain.tld from <textarea> when create letsenscrypt certificate.
http://kombathost.com | Your ultimate webhosting

Offline NginxHolic

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +1/-0
    • View Profile
Re: letsencrypt installer fails
« Reply #34 on: 2016-05-11, 16:12:22 »
Kelihatannya masalahnya pada versi python. Oleh karena itu sekarang sedang coba untuk ganti program letsencrypt-auto (berbasis python) dengan acme.sh (berbasis bash) sehingga saya berharap bisa compatible untuk CentOS 5 dan 6.

Sembari menunggu konfirmasi dengan 'pembuat' hiawatha tentang masalah gagal akses ke /.well-known.

Apakah hal ini termasuk untuk kasus untuk saya om? Atau memang tidak bisa untuk pure nginx?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: letsencrypt installer fails
« Reply #35 on: 2016-05-11, 16:15:41 »
Kelihatannya masalahnya pada versi python. Oleh karena itu sekarang sedang coba untuk ganti program letsencrypt-auto (berbasis python) dengan acme.sh (berbasis bash) sehingga saya berharap bisa compatible untuk CentOS 5 dan 6.

Sembari menunggu konfirmasi dengan 'pembuat' hiawatha tentang masalah gagal akses ke /.well-known.

Apakah hal ini termasuk untuk kasus untuk saya om? Atau memang tidak bisa untuk pure nginx?
Saya hanya menemukan masalah pada hiawatha.

Gunakan 'file manager', pergi ke '/var/log/letsencrypt' and periksa log file.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: letsencrypt installer fails
« Reply #36 on: 2016-05-11, 17:59:24 »
in - Httpd: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
works?

log (mydomain is ok domain) :
Quote
2016-05-11 16:04:09,725:INFO:letsencrypt.reporter:Reporting to user: The following errors were reported by the server:

Domain: mydomain.org
Type:   unauthorized
Detail: Invalid response from http://mydomain.org/.well-known/acme-challenge/9ZL8tFvUv7KkANKhd93Lr9LNVhK1Rvw8elfN4EJbrug [37.59.6.154]: 404

To fix these errors, please make sure that your domain name was entered correctly and the DNS A record(s) for that domain contain(s) the right IP address.
2016-05-11 16:04:09,725:INFO:letsencrypt.auth_handler:Cleaning up challenges
2016-05-11 16:04:09,725:DEBUG:letsencrypt.plugins.webroot:Removing /var/run/letsencrypt/.well-known/acme-challenge/9ZL8tFvUv7KkANKhd93Lr9LNVhK1Rvw8elfN4EJbrug
2016-05-11 16:04:09,726:DEBUG:letsencrypt.plugins.webroot:All challenges cleaned up, removing /var/run/letsencrypt/.well-known/acme-challenge
2016-05-11 16:04:09,727:DEBUG:letsencrypt.main:Exiting abnormally:
Traceback (most recent call last):
  File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module>
    sys.exit(main())
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/main.py", line 692, in main
    return config.func(config, plugins)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/main.py", line 509, in obtain_cert
    _, action = _auth_from_domains(le_client, config, domains, lineage)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/main.py", line 93, in _auth_from_domains
    lineage = le_client.obtain_and_enroll_certificate(domains)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/client.py", line 274, in obtain_and_enroll_certificate
    certr, chain, key, _ = self.obtain_certificate(domains)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/client.py", line 246, in obtain_certificate
    self.config.allow_subset_of_names)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/auth_handler.py", line 74, in get_authorizations
    self._respond(resp, best_effort)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/auth_handler.py", line 131, in _respond
    self._poll_challenges(chall_update, best_effort)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/auth_handler.py", line 195, in _poll_challenges
    raise errors.FailedChallenges(all_failed_achalls)
FailedChallenges: Failed authorization procedure. mydomain.org (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mydomain.org/.well-known/acme-challenge/9ZL8tFvUv7KkANKhd93Lr9LNVhK1Rvw8elfN4EJbrug [37.59.6.154]: 404

In the domain directory it is not creating the file .well-known/acme-challenge/9ZL8tFvUv7KkANKhd93Lr9LNVhK1Rvw8elfN4EJbrug. Is that?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: letsencrypt installer fails
« Reply #37 on: 2016-05-11, 18:33:40 »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: letsencrypt installer fails
« Reply #38 on: 2016-05-11, 22:46:34 »
it is ok ... no errors in intodns

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: letsencrypt installer fails
« Reply #39 on: 2016-05-12, 02:53:13 »
it is ok ... no errors in intodns
What's you mean ok?.

Did mydomain.org your 'real' domain?. If yes, from intodns.com, so many 'red' alert including not match nameserver and no 'a record' for www.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: letsencrypt installer fails
« Reply #40 on: 2016-05-12, 09:21:26 »
Hi, 'mydomain.org' is a example domain, my real domains are other and they are ok in intodns. The error (certificate failed) is with all domains that i have.
All domains are working ok, but letsencrypt isn't working.

Offline digidata

  • Junior Member
  • *
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: letsencrypt installer fails
« Reply #41 on: 2016-05-12, 12:51:39 »
Any solution?

Code: [Select]
Nothing to do
Checking for new version...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Requesting root privileges to run letsencrypt...
   /root/.local/share/letsencrypt/bin/letsencrypt --version
letsencrypt 0.5.0


And when in admin panel trying to create: Alert: Create Certificate failed

CentOS 5
Using 'file manager', go to '/var/log/letsencrypt' and investigate log file.
Code: [Select]
2016-05-09 09:55:18,281:DEBUG:letsencrypt.main:Root logging level set at 20
2016-05-09 09:55:18,283:INFO:letsencrypt.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-05-09 09:55:18,293:DEBUG:letsencrypt.main:letsencrypt version: 0.5.0
2016-05-09 09:55:18,293:DEBUG:letsencrypt.main:Arguments: ['--verbose']
2016-05-09 09:55:18,294:DEBUG:letsencrypt.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2016-05-09 09:55:18,305:DEBUG:letsencrypt.plugins.selection:Requested authenticator None and installer None
2016-05-09 09:55:24,891:DEBUG:letsencrypt.plugins.disco:Other error:(PluginEntryPoint#apache): Error parsing runtime variables
Traceback (most recent call last):
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/plugins/disco.py", line 104, in prepare
    self._initialized.prepare()
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt_apache/configurator.py", line 172, in prepare
    self.version)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt_apache/parser.py", line 70, in __init__
    raise errors.PluginError("Error parsing runtime variables")
PluginError: Error parsing runtime variables
2016-05-09 09:55:24,892:DEBUG:letsencrypt.plugins.selection:No candidate plugin
2016-05-09 09:55:24,892:DEBUG:letsencrypt.plugins.selection:Selected authenticator None and installer None

Buf it happens add to log only after " letsencrypt-auto --verbose"
After trying to add domain, no errors in log file

Offline digidata

  • Junior Member
  • *
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: letsencrypt installer fails
« Reply #42 on: 2016-05-13, 08:40:06 »
After update kloxo-mr version:

Code: [Select]
sh /script/letsencrypt-installer
mv: cannot stat `certbot-master': No such file or directory
/script/letsencrypt-installer: line 39: /usr/local/lxlabs/kloxo/certbot/letsencrypt-auto: No such file or directory

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: letsencrypt installer fails
« Reply #43 on: 2016-05-13, 09:22:07 »
Wait next update.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline digidata

  • Junior Member
  • *
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: letsencrypt installer fails
« Reply #44 on: 2016-05-16, 10:00:59 »
And one question. It is possible work with multiple domains but one IP?

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.046 seconds with 21 queries.

web stats analysis