Domain won't verify due to missing "/"


#1

My domain is: themainstitch.biz

I ran this command: sudo -H ./letsencrypt-auto certonly --webroot -w /var/www/themainstitch.biz -d themainstitch.biz

It produced this output:

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: themainstitch.biz
   Type:   connection
   Detail: Fetching
   **https://themainstitch.biz.well-known/**acme-challenge/TrKu0f2EASY1zr89i9idXmidPyjN2EEhS35DVlK8cOI:
   Error getting validation data

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.

Apache 2, Ubuntu 14.02, Root access

It looks like it is missing the “/” on the verification, is that a bug?


#2

Hi @ryoung,

No, it isn’t a bug, you just forgot to add a trailing slash to the redirect directive you are using in your conf.

Example:

Redirect permanent / https://themainstitch.biz

should be

Redirect permanent / https://themainstitch.biz/

Maybe you are using a rewrite rule in your conf or .htaccess and you should modify that in that rewrite rule…

Cheers,
sahsanu


#3

Bah! There it is. Thank you!


#4

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