Author Topic: ssl expire  (Read 1045 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Re: ssl expire
« Reply #15 on: October 10, 2018, 11:25:00 PM »

But you can add this to each domain in vhost file.

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteCond %{HTTPS} off
   RewriteRule ^(.*)$ https://yourdomain.com$1 [R=301,L]
   </IfModule>

Is it possible and how to add this to the vhost template instead of each domain?

Offline
*
Re: ssl expire
« Reply #16 on: December 14, 2018, 05:23:28 AM »
I found that Google wasn't updating from my DNS propagation https://dnschecker.org.   Once Google displayed the A record for my domain I did the following:
1. logged in to the CWP admin http://ipaddress:2030 as root
2. Created a new user with the domain I wanted to use with AutoSSL
3. Went to DNS Functions ->List DNS Zones and pressed   Check All Zones and makde sure they all had an ip address assigned.
4. User Acoounts -> Fix Permissions and selected the user I created and fixed the permissions
5. logged out CWP admin and Logged into CWP user panel with the newly created user
6. Domains -> AutoSSL selected the domain and pressed install
7. confirmed the Test1, Test2, Test3 all passed. 
That was it!!
 So the key for me was whether you are using the built in Bind server in CWP or in my case specified 2 external DNS servers, they all have to resolve on Google DNS before this works