Bobcares

How we fix the Error: let’s encrypt validation status 400 in VestaCP

by | Sep 16, 2020

Usually, the error: let’s encrypt validation status 400 occurs while installing Let’s Encrypt SSL for domains from the control panel.

Here at Bobcares, we have seen several such SSL related issues as part of our Server Management Services for web hosts and online service providers.

Today we’ll take a look at the cause for this error and how to fix it.

 

What causes the error: let’s encrypt validation status 400 to occur

This error occurs when we try to install Let’s Encrypt SSL for domains from the control panel. Now let’s look into the different reasons for this error to occur.

  • Incorrectly mentioning the well_known path in /usr/local/vesta/bin/v-add-letsencrypt-domain.
  • The domain is not resolving to the correct server IP or it has an improper DNS record.
  • There is some connection problem.
  • There is no proper $domain variable in “v-add-letsencrypt-domain” file
  • “force HTTPS” and “fix HTTP” is enabled in Cloudflare
    Even though a DNS record in the parent zone is present, your zone doesn’t have the correct DNSKEY. As a result, your DNSSEC is broken. This blocks Letsencrypt to find a correct – signed – IP address. It might be due to any changes in the DNS provider. Your old provider might support have supported DNSSEC, whereas your new provider doesn’t.

 

How we fix the error: let’s encrypt validation status 400

Now let’s see the suggestions our Support Engineers provide to our customers to resolve this error message.

1. Make sure that the well_known path is correct

2. Try re-installing the Control Panel if it is a fresh installation.

3. You would need to allow a connection between the let’s encrypt and server.

4. There must be a proper $domain variable in “v-add-letsencrypt-domain” file

5. Another option to resolve this error is to solve by running the below code:

wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/bin/v-add-letsencrypt-domain -O $VESTA/bin/v-add-letsencrypt-domain
wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/bin/v-add-letsencrypt-user 1 -O $VESTA/bin/v-add-letsencrypt-user
chmod +x $VESTA/bin/v-add-letsencrypt-domain
chmod +x $VESTA/bin/v-add-letsencrypt-user

6. Try disabling “force HTTPS” and “fix HTTP” in Cloudflare. Below are the steps to do the same.

In Cloudflare Dashboard > Crypto > ‘SSL’ set it to OFF & also set ‘Always use HTTPS’ to OFF

/usr/local/vesta/bin/v-add-letsencrypt-domain user domain > Success!

In Vesta CP > User > Rebuild Web

After the above, wait for 60 seconds and then return CF settings to the previous setting.

7. Add DNSSEC to your domain or you can ask your DNS provider to start an action to remove the DNS in the parent zone.

[Need any assistance in fixing SSL errors? – We’ll help you]

 

Conclusion

In short, this error occurs while installing Let’s Encrypt SSL for domains from the control panel. Today, we saw the solution to this error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF