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

Error 400: Adding SSL with Let's Encrypt

General questions about VestaCP
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Spythe
Posts: 9
Joined: Wed Jun 21, 2017 7:15 pm

Error 400: Adding SSL with Let's Encrypt
  • Quote

Post by Spythe » Wed Jun 21, 2017 7:20 pm

I just installed Vesta (latest) on my Ubuntu 16.04 VPS and was really amazed it had Let's Encrypt automated support. I added my domains and thought everything worked. However, I checked the web interface and saw none of the domains had SSL support, although I did check the box when adding the domain.

When I manually check the SSL box and choose Let's Encrypt, as the only edit to the domain, I'm getting the following error:

"Error: LetsEncrypt account registration 400".

It's a clean VPS, as I just set up a new one via DigitalOcean. Just installed Vesta right away with the below setup.

Image
Top

syfry
Posts: 6
Joined: Wed Jun 21, 2017 5:11 pm

Re: Error 400: Adding SSL with Let's Encrypt
  • Quote

Post by syfry » Wed Jun 21, 2017 7:56 pm

I tried "Lets Encrypt" as well after clean install, there is an additional component you have to setup in order to use it. I started reading the Lets Encrypt website and found it was a little more involved that I wanted to do, and the certs are only good for 90 days, but if you want to use it, check out the instructions on their site.
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Error 400: Adding SSL with Let's Encrypt
  • Quote

Post by ScIT » Wed Jun 21, 2017 8:08 pm

syfry wrote:I tried "Lets Encrypt" as well after clean install, there is an additional component you have to setup in order to use it. I started reading the Lets Encrypt website and found it was a little more involved that I wanted to do, and the certs are only good for 90 days, but if you want to use it, check out the instructions on their site.
the certs are only valid for 90days, that's right. but after this 90 days (or better said 60 days) vestacp will automatically renew them. So there isnt any problem to use let's encrypt, expect high availability system, there i like to setup for example 3 years rapidssl certs for around 15 usd.

For the basic thread and your ""Error: LetsEncrypt account registration 400": Please check your entered e-mail address, this have to be valid. Also you can try manualy register an user over cli (v-add-letsencrypt-user user [email protected]), if this does not work, please post the output that we can help you to find the failure.
Top

Spythe
Posts: 9
Joined: Wed Jun 21, 2017 7:15 pm

Re: Error 400: Adding SSL with Let's Encrypt
  • Quote

Post by Spythe » Wed Jun 21, 2017 8:35 pm

Ok well that worked. Now time to figure out how I force HTTPS for all domains by default.
I saw a lot of threads posting things like below, but I don't got a clue where to put that..

Code: Select all

server {
    listen 80;
    listen 443 ssl;
    server_name www.example.com;
    return 301 $scheme://example.com$request_uri;
}

server {
    listen 80;
    listen 443 ssl;
    server_name example.com;
    # rest goes here...
}
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Error 400: Adding SSL with Let's Encrypt
  • Quote

Post by skurudo » Mon Jul 24, 2017 2:00 pm

Spythe wrote: I saw a lot of threads posting things like below, but I don't got a clue where to put that..
nginx user config
Top

shahidirfan
Posts: 8
Joined: Sat Aug 20, 2016 6:14 am

Re: Error 400: Adding SSL with Let's Encrypt
  • Quote

Post by shahidirfan » Wed Aug 02, 2017 5:30 am

I am also facing the same issue. I have installed clean vestacp on Ubuntu 16.04 with default settings. Anyone have the solution?
Top


Post Reply
  • Print view

6 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