We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Letsencrypt issue
-
- Posts: 12
- Joined: Mon Nov 24, 2014 11:42 pm
Letsencrypt issue
Hi!
I just used:
To add letsencrypt SSL which worked like a charm. However it didnt give me support for www (error: The certificate is only valid for domain.com). Should I have added that in above? Can it be done afterwords?
Thanks!
I just used:
Code: Select all
v-add-letsencrypt-domain user domain.com
Thanks!
Re: Letsencrypt issue
Run again the command and add the www domain as alias, for example
You can add multiple aliases, just separate them with , - for example:
Code: Select all
v-add-letsencrypt-domain user domain.tld www.domain.tld
Code: Select all
v-add-letsencrypt-domain user domain.tld www.domain.tld,otheralias.domain.tld
-
- Posts: 12
- Joined: Mon Nov 24, 2014 11:42 pm
Re: Letsencrypt issue
I tried afterwards doing:
Eg to include the alias, but then get:
Code: Select all
v-add-letsencrypt-domain user domain.com www
Eg to include the alias, but then get:
Code: Select all
Error: LetsEncrypt challenge request 400
-
- Posts: 12
- Joined: Mon Nov 24, 2014 11:42 pm
Re: Letsencrypt issue
Thanks.
When trying:
Per your suggestion, I get
When trying:
Code: Select all
v-add-letsencrypt-domain user domain.com www.domain.com
Code: Select all
Error: domain www.domain.com doesn't exist
Re: Letsencrypt issue
what happens, when you enable let's encrypt in vestacp under web -> domain.tld -> edit -> tick ssl box, then tick let's encrypt support and press save. If it is already set (should be), remove the ssl box, click on save, and reactivate let's encrypt.sharkstate wrote: ↑Fri Feb 16, 2018 8:49 pmThanks.
When trying:
Per your suggestion, I getCode: Select all
v-add-letsencrypt-domain user domain.com www.domain.com
Code: Select all
Error: domain www.domain.com doesn't exist
also check: is www.domain.com listed under your aliases in the same configuration part?
-
- Posts: 12
- Joined: Mon Nov 24, 2014 11:42 pm
Re: Letsencrypt issue
Thanks.
I get either
or
I think I should start fresh. How can I wipe letsencrypt from server and start fresh, do you know? Also, when redoing it, should I enter the alias as "www" or "www.domain.com" in vesta cp?
I get either
Code: Select all
Error: LetsEncrypt challenge request 400
Code: Select all
www.domain.com domain doesnt exist
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Letsencrypt issue
I think your www.domain.com alias is not added to the domain name in the control panel. Try to add the www.domain.com as alias to domain.com and try again.sharkstate wrote: ↑Sat Feb 17, 2018 8:45 amThanks.
I get either
orCode: Select all
Error: LetsEncrypt challenge request 400
I think I should start fresh. How can I wipe letsencrypt from server and start fresh, do you know? Also, when redoing it, should I enter the alias as "www" or "www.domain.com" in vesta cp?Code: Select all
www.domain.com domain doesnt exist
Always add full domain name: www.domain.com