# Vesta CP - Error getting validation data

**URL:** <https://community.letsencrypt.org/t/vesta-cp-error-getting-validation-data/79523>\
**Category:** Help\
**Created:** [December 7, 2018, 11:42pm UTC](https://community.letsencrypt.org/t/vesta-cp-error-getting-validation-data/79523 "2018-12-07T23:42:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![boredomisagift](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@boredomisagift](https://community.letsencrypt.org/u/boredomisagift)\
**Post date:** [December 7, 2018, 11:42pm UTC](https://community.letsencrypt.org/t/vesta-cp-error-getting-validation-data/79523/1 "2018-12-07T23:42:47Z")

</div>

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. [https://crt.sh/?q=example.com](https://crt.sh/?q=example.com)), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: [enorugby.com](http://enorugby.com)

I ran this command: certbot --staging

It produced this output:  
Congratulations! You have successfully enabled [https://enorugby.com](https://enorugby.com) and  
[https://www.enorugby.com](https://www.enorugby.com)

You should test your configuration at:  
[https://www.ssllabs.com/ssltest/analyze.html?d=enorugby.com](https://www.ssllabs.com/ssltest/analyze.html?d=enorugby.com)  
[https://www.ssllabs.com/ssltest/analyze.html?d=www.enorugby.com](https://www.ssllabs.com/ssltest/analyze.html?d=www.enorugby.com)

When I try to test at those sites, I get the following message: Assessment failed: No secure protocols supported

My web server is (include version): Apache2

The operating system my web server runs on is (include version): Ubuntu 18.04

My hosting provider, if applicable, is: Digital Ocean

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Vesta CP latest version 0.9.8-23

As noted above, both configuration tests fail. Also, when I try to enable SSL Support and Let’s Encrypt Support in Vesta CP, I get the following error: Error: Fetching [https://enorugby.com/.well-known/acme-challenge/F-zPeeuLlOv5qFMYSPErdANphf7Yo7nMjMvQLaHYNfs:](https://enorugby.com/.well-known/acme-challenge/F-zPeeuLlOv5qFMYSPErdANphf7Yo7nMjMvQLaHYNfs:) Error getting validation data

I am running the --staging command because I already tried this one and started getting 429 errors when attempting to enable this via the Vesta CP panel. I reset my server to a clean install, reinstalled VestaCP, reinstalled certbot, and tried to run it with the staging flag, hoping I could correct any connectivity errors before trying again in production. Please assist.

---

<div class="post-metadata">

**Author:** ![\_az](https://avatars.discourse-cdn.com/v4/letter/_/22d042/32.png) [@\_az](https://community.letsencrypt.org/u/_az)\
**Post date:** [December 7, 2018, 11:49pm UTC](https://community.letsencrypt.org/t/vesta-cp-error-getting-validation-data/79523/2 "2018-12-07T23:49:57Z")

</div>

[https://letsdebug.net/enorugby.com/11075#WebserverMisconfiguration-Error](https://letsdebug.net/enorugby.com/11075#WebserverMisconfiguration-Error)

Your server seems to be listening on insecure HTTP on port 443, rather than HTTPS. e.g. [http://enorugby.com:443/.well-known/acme-challenge/test](http://enorugby.com:443/.well-known/acme-challenge/test)

This would indicate something has gone wrong inside VestaCP’s management of your virtual hosts. If you get support from them, now might be the time!

---

<div class="post-metadata">

**Author:** ![boredomisagift](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@boredomisagift](https://community.letsencrypt.org/u/boredomisagift)\
**Post date:** [December 9, 2018, 9:19pm UTC](https://community.letsencrypt.org/t/vesta-cp-error-getting-validation-data/79523/3 "2018-12-09T21:19:07Z")

</div>

There was an issue with the HTTP \> HTTPS redirect. For anyone else who has this issue, it looks like the lets encrypt install added the following lines to my enorugby.com.apache2.conf file:  
RewriteEngine on  
RewriteCond %{SERVER\_NAME} =[www.enorugby.com](http://www.enorugby.com) [OR]  
RewriteCond %{SERVER\_NAME} =[enorugby.com](http://enorugby.com)  
RewriteRule ^ https://%{SERVER\_NAME}%{REQUEST\_URI} [END,NE,R=permanent]

I commented these lines out, restarted the apache2 service, and retried the letsdebug test. No issues this time. I went into VestaCP, edited my site, added SSL and Lets Encrypt support, and it worked! I removed the comments from the conf file, restarted apache2 again, and tested everything It is all working properly now, redirect and all.

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [January 8, 2019, 9:19pm UTC](https://community.letsencrypt.org/t/vesta-cp-error-getting-validation-data/79523/4 "2019-01-08T21:19:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
