Author Topic: AutoSSL is not working with DigitalOcean DNS  (Read 146 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
AutoSSL is not working with DigitalOcean DNS
« on: September 09, 2018, 12:07:11 AM »
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

Offline
*****
Re: AutoSSL is not working with DigitalOcean DNS
« Reply #1 on: September 09, 2018, 09:06:10 AM »
you need to have direct ip pointing DNS service

Offline
*
Re: AutoSSL is not working with DigitalOcean DNS
« Reply #2 on: September 09, 2018, 12:22:02 PM »
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.

Offline
****
Re: AutoSSL is not working with DigitalOcean DNS
« Reply #3 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 

Code: [Select]
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

Offline
*
Re: AutoSSL is not working with DigitalOcean DNS
« Reply #4 on: September 09, 2018, 03:47:55 PM »
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.


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 

Code: [Select]
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

Offline
*
Re: AutoSSL is not working with DigitalOcean DNS
« Reply #5 on: September 09, 2018, 04:46:41 PM »
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.

Offline
****
Re: AutoSSL is not working with DigitalOcean DNS
« Reply #6 on: September 10, 2018, 02:08:05 AM »
Perfect :D