Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

LetsEncrypt suddenly stopped working

General questions about VestaCP
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

LetsEncrypt suddenly stopped working
  • Quote

Post by youradds » Tue Jun 20, 2017 12:08 pm

Hi,

This seems to be quite a common issue, but nothing I've tried thus far sorts it. This is the closest I've found:

viewtopic.php?f=10&t=13979

The pipe exists and seems to work fine for new sites. However, the "admin.mydomain.com" sub-domain seems to be failing:

Error: Invalid response from http://admin.mydomain.com/.well-known/a ... fK5AwNf5E8: \

I'm baffled as to why though, as it's worked fine up until now. Any ideas on what to try? I created a test /.well-known/acme-challenge/foo file, and that access file when called manually (and comes back as text/plain)

Thanks

Andy
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: LetsEncrypt suddenly stopped working
  • Quote

Post by tjebbeke » Thu Jun 22, 2017 11:52 am

Can you delete the .well-known again?
Check DNS settings.
Top

youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

Re: LetsEncrypt suddenly stopped working
  • Quote

Post by youradds » Sat Jun 24, 2017 5:02 am

Hi,

Thanks tjebbeke. Unfortunatly that doesn't do it. It appears to be some weird IPv6 issue. If I remove the IPv6 AAAA records from my DNS (on linode, not locally), then it works fine. The only reason it seems to have manifested itself now, is that LetsEncrypt have (for some reason) decided to prioritise the use of the IPv6 records when looking up a site - and for whatever reason, this isn't returning the correct value :/ If worst comes to worst (and the certificate is almost about to expire), I guess I'm going to just have to delete my IPv6 DNS records, and hope that fixes it. Surely other people are also having this issue as well??

Cheers

Andy
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: LetsEncrypt suddenly stopped working
  • Quote

Post by tjebbeke » Tue Jun 27, 2017 2:20 pm

If it is an IPV6 problem, you can change your nginx configs to allow ipv6, that should work.
Top

youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

Re: LetsEncrypt suddenly stopped working
  • Quote

Post by youradds » Tue Jun 27, 2017 2:26 pm

Ah man, I can't believe how dumb I've been! The issue is that I created the admin. sub-domain when setting up the server, and then I updated the template to use:

Code: Select all

    listen      %ip%:%web_port%;
    listen      [::]:%web_port%;
instead of just:

Code: Select all

    listen      %ip%:%web_port%;
So what that meant, was that I only had:

Code: Select all

    listen      45.79.97.48:80;
instead of:

Code: Select all

    listen      45.79.97.48:80;
    listen      [::]:80;
I did a rebuild of the admin username, and it works fine now! DOH!

Cheers

Andy
Top

youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

Re: LetsEncrypt suddenly stopped working
  • Quote

Post by youradds » Tue Jun 27, 2017 2:38 pm

Mmm actually, that fixed it on one server - but I'm still having the problem on 2 others :( The nginx.conf files look fine:

Code: Select all

server {
    listen      109.74.193.98:80;
    listen      [::]:80;
    server_name chambresdhotesfrance.com www.chambresdhotesfrance.com;

...and:

server {
    listen      109.74.193.98:80;
    listen      [::]:80;
    server_name admin.chambresdhotesfrance.com ;
Yet I get:
root@admin:~# sudo /usr/local/vesta/bin/v-update-letsencrypt-ssl
Error: Invalid response from http://admin.chambresdhotesfrance.com/. ... _xAJQIxnqQ: \
Error: Invalid response from http://chambresdhotesfrance.com/.well-k ... jAbSF-aXnc: \
I also have the same message on another server (with another domain).

Mmm :(
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: LetsEncrypt suddenly stopped working
  • Quote

Post by tjebbeke » Thu Jun 29, 2017 11:59 am

And what happens if you change [::] to the exact IPv6 address?
Top

youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

Re: LetsEncrypt suddenly stopped working
  • Quote

Post by youradds » Thu Jun 29, 2017 12:50 pm

Same thing I'm afraid :(
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password