AutoSSL is not working with DigitalOcean DNS

Started by fatihalp, September 09, 2018, 12:07:11 AM

Previous topic - Next topic

fatihalp

I want to install SSL with new SSL sertifcates screen

1- I'm testing pure HTML site without htaccess file.
2- Site is working with in it's domain. But it's giving this error:

"DNS of your domain doesn't point to this server or you have htaccess restrictions"

Digitalocean DNS IP address is NOT directly pointing my server IP. I think because of CWP thinks this domain is not pointing this server. I couldn't migrate to new server because of problem.

Best Regards, Thanks

Sandeep

you need to have direct ip pointing DNS service

fatihalp

None of DNS services (AWS, Google, Cloudflare etc) pointing directly to server.

It was working couple months ago. I believe if CWP does not check DNS it will work.

bullten

Does the below command issue SSL. Replace yourdomain.com with your original domain name. What is output of this command below? Also when it ends you see your SSL files under /root/.acme.sh/cwp_certs 

sh /root/.acme.sh/acme.sh --home /root/.acme.sh/cwp_certs --issue -d www.yourdomain.com -d yourdomain.com -w /usr/local/apache/autossl_tmp --debug 2

fatihalp

I think it's working but I can't access via https maybe I need configuration in Apache for SSL


See logs:
https://gist.github.com/fatihalp/e0bba91978f9d49c1f344d3cf245d2aa

[Sun Sep  9 15:43:41 UTC 2018] Cert success.


Quote from: bullten on September 09, 2018, 01:04:05 PM
Does the below command issue SSL. Replace yourdomain.com with your original domain name. What is output of this command below? Also when it ends you see your SSL files under /root/.acme.sh/cwp_certs 

sh /root/.acme.sh/acme.sh --home /root/.acme.sh/cwp_certs --issue -d www.yourdomain.com -d yourdomain.com -w /usr/local/apache/autossl_tmp --debug 2

fatihalp

I've configured Apache for SSL in vhost httpS it's working! Thanks @bullten !

Now we're sure that letsencryt will work CWP will not check DNS.