Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: fatihalp 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
-
you need to have direct ip pointing DNS service
-
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.
-
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
-
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
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
-
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.
-
Perfect :D
-
Solved: Real problem was DNS cache. Suggest to use : https://developers.google.com/speed/public-dns/cache