Author Topic: DNS of your domain doesn't point to this server or you have htaccess  (Read 166 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi,

i am pretty new to CWP and are trying to get SSL to work. However, something is not working. I get the error message DNS of your domain doesn't point to this server or you have htaccess restrictions

- i dont have any htaccess file installed on public_html
- Here is the DNS configuration:
https://imgur.com/a/f1HXqrQ
- This is the DNS configuration on the CWP side
https://imgur.com/a/IxHpkiQ
- The a-record is pointing to the server
https://www.whatsmydns.net/#A/ruimtereizen.net
- But still i cant get auto ssl to work
https://imgur.com/a/Xr5UzXq

update 1:
after deleting the whole account i created a new account. Enabling AutoSSL gives the following

AutoSSL Issue Failed![Sat Sep  8 01:17:19 UTC 2018] Single domain='ruimtereizen.net'
[Sat Sep  8 01:17:19 UTC 2018] Getting domain auth token for each domain
[Sat Sep  8 01:17:19 UTC 2018] Getting webroot for domain='ruimtereizen.net'
[Sat Sep  8 01:17:19 UTC 2018] Getting new-authz for domain='ruimtereizen.net'
[Sat Sep  8 01:17:20 UTC 2018] The new-authz request is ok.
[Sat Sep  8 01:17:20 UTC 2018] Verifying:ruimtereizen.net
[Sat Sep  8 01:17:23 UTC 2018] ruimtereizen.net:Verify error:Invalid response from http://ruimtereizen.net/.well-known/acme-challenge/1TD1F0gjN_6_AtetI_OTiA61jKio9GFh0meIdU5Q93c:
[Sat Sep  8 01:17:23 UTC 2018] Please check log file for more details: /root/.acme.sh/acme.sh.log

Update 3 Added log file ( last 20 lines )

[Sat Sep  8 01:17:23 UTC 2018] url='https://acme-v01.api.letsencrypt.org/acme/challenge/qTI9zjrTJ-rDcX5Ij5hJKfXvrzfhP97ucabLhia4a5A/7153854755'
[Sat Sep  8 01:17:23 UTC 2018] timeout=
[Sat Sep  8 01:17:23 UTC 2018] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header  -g '
[Sat Sep  8 01:17:23 UTC 2018] ret='0'
[Sat Sep  8 01:17:23 UTC 2018] ruimtereizen.net:Verify error:Invalid response from http://ruimtereizen.net/.well-known/acme-challenge/1TD1F0gjN_6_AtetI_OTiA61jKio9GFh0meIdU5Q93c:
[Sat Sep  8 01:17:23 UTC 2018] pid
[Sat Sep  8 01:17:23 UTC 2018] No need to restore nginx, skip.
[Sat Sep  8 01:17:23 UTC 2018] _clearupdns
[Sat Sep  8 01:17:23 UTC 2018] skip dns.
[Sat Sep  8 01:17:23 UTC 2018] _on_issue_err
[Sat Sep  8 01:17:23 UTC 2018] Please check log file for more details: /root/.acme.sh/acme.sh.log
[Sat Sep  8 01:17:23 UTC 2018] url='https://acme-v01.api.letsencrypt.org/acme/challenge/qTI9zjrTJ-rDcX5Ij5hJKfXvrzfhP97ucabLhia4a5A/7153854755'
[Sat Sep  8 01:17:23 UTC 2018] payload='{"resource": "challenge", "keyAuthorization": "1TD1F0gjN_6_AtetI_OTiA61jKio9GFh0meIdU5Q93c.X3u0s504PaG8KagYPEDKk-vjOgth4theAXWD5muR5qo"}'
[Sat Sep  8 01:17:23 UTC 2018] POST
[Sat Sep  8 01:17:23 UTC 2018] _post_url='https://acme-v01.api.letsencrypt.org/acme/challenge/qTI9zjrTJ-rDcX5Ij5hJKfXvrzfhP97ucabLhia4a5A/7153854755'
[Sat Sep  8 01:17:23 UTC 2018] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header  -g '
[Sat Sep  8 01:17:24 UTC 2018] _ret='0'
[Sat Sep  8 01:17:24 UTC 2018] code='400'

What other things can i do to make it work?

regards jerome
« Last Edit: September 08, 2018, 01:32:20 AM by nme »

Offline
*****
Re: DNS of your domain doesn't point to this server or you have htaccess
« Reply #1 on: September 08, 2018, 07:52:17 PM »
try nginx webserver and issue the certs.

Offline
***
Re: DNS of your domain doesn't point to this server or you have htaccess
« Reply #2 on: September 22, 2018, 01:50:09 PM »
I had a similar problem.  I looked at my vhost config file and saw that I had a 301 redirect for my domain.  I deleted that redirect and was able to get a new cert.