Error: Let's Encrypt acc registration failed

Hello, I can’t solve the following problem :frowning:

What could be the problem?


Hi @danielv86

Let’s Encrypt has updated their server commnication to HTTP2, that’s the reason the api stopped working. We will ship a hotfix release for this issue today, it has already been fixed on master branch.

If you want to fix the issue without waiting for the hotfix, please run the following commands:

wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/bin/v-add-letsencrypt-domain -O $HESTIA/bin/v-add-letsencrypt-domain
wget https://raw.githubusercontent.com/hestiacp/hestiacp/master/bin/v-add-letsencrypt-user -O $HESTIA/bin/v-add-letsencrypt-user
chmod +x $HESTIA/bin/v-add-letsencrypt-domain
chmod +x $HESTIA/bin/v-add-letsencrypt-user

1 Like

it’s works, thanks for the help!

Hestia 1.0.6 has been released to our repository a few seconds ago, it will fix the issues with Let’s Encrypt.

1 Like

Is this issue resolved…?
[ubuntu 18x, Hestia v1.0.6]

I tried ‘v-add-letsencrypt-user test’…

I just added new user and LE failed
(Error: Let’s Encrypt acc registration failed 400).

I tried the above WGET links - but still same err.

But my previous 2 user accounts no issues. i can run the above command & success.
But new fresh user failed err 400

Yes, the issue has been solved, let’s encrypt is working properly.

Some basic checks:

  1. Verify that all dns records are set properly
  2. Verify that you’ve disabled ipv6 records, otherwise the validation will also fail.
  3. Check that the e-mail address inside the user account is valid.
  4. Use curl to check the correct response on port 80 for your domain.

Hi.

  1. DNS records are freshly created automatically be hestia
  2. ipv6 disabled
  3. email address - i tried many other emails
  4. domain is working as usual on web browsers. so port80 is works for that domain
    ** Realized the file
    '/usr/local/hestia/data/users/test/ssl/le.conf' >> is missing. Is that be the issue?
    I created few new users creations, but this file is not there.
    I copied ’le.cnf' from other user, than im able to run 'v-add-letsencrypt-user test' - no errors.
    but ‘v-add-letsencrypt-domain test 2.domain.com’ >> Error: Let’s Encrypt new auth status 400
    The ‘le.cnf’ file inside email & the new user’s email both same.

End’up i copied ‘le.conf & user.key’ from existing users, than all works.

Check what happens when you run v-add-letsencrypt-user test, this will generate the files you wrote about.

Hi, as mentioned above,

v-add-letsencrypt-user test >> it shows err
openssl:Error: ‘pkey’ is an invalid command.
Let's Encrypt acc registration failed 400

generating only ‘user.key’. But not ‘le.cnf’ file

Hi, any findings will be best from your side.

do you run the latest version of hestia?