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

Lets encrypt problem with custom DocumentRoot template

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
saxico
Posts: 2
Joined: Tue Apr 03, 2018 3:42 pm

Os: Ubuntu 15x
Web: apache + nginx
Lets encrypt problem with custom DocumentRoot template
  • Quote

Post by saxico » Mon Jul 30, 2018 6:11 pm

Hi;

Since 1/2 weeks ago i'm having a problem when i try to enable LetsEncrypt cert with a custom template with diferent document root.

When i click to generate cert i get:
Error: Invalid response from http://XXX.com/.well-known/acme-challenge/XXX....

If i check the "public_html" folder i see that ".well-known" folder is created on public_html(default DocumentRoot) instead of my custom DocumentRoot. I supossed this is the problem.

The solution for me is disable my custom template, generate LetsEncrypt Cert, and then reenable my custom template, but i dont know if it will fail when the cert renew in next 3 months. Someone knows?

What i dont know is why is now failing, in the past i have activated so many LetsEncrypt certs with my custom template without problems. Can i solve this?

Thanks

Edit: I'm using Ubuntu 16 (apache+nginx) mainly, but i have the same problem with other server with Debian 8(only apache).
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Lets encrypt problem with custom DocumentRoot template
  • Quote

Post by grayfolk » Mon Jul 30, 2018 7:31 pm

saxico wrote: ↑
Mon Jul 30, 2018 6:11 pm

If i check the "public_html" folder i see that ".well-known" folder is created on public_html(default DocumentRoot) instead of my custom DocumentRoot. I supossed this is the problem.
Just create symlink from /public_html/.well-known to /your_docroot/.well-known
Top


Post Reply
  • Print view

2 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