url shows not secure connection

url shows not secure connection

by Abu Ali -
Number of replies: 5

dear friends

in my moodle url shows that my connection is not secure. it shows the following message as shown in figure.

Attachment Capture.PNG
Average of ratings: -
In reply to Abu Ali

Re: url shows not secure connection

by Just H -

1 You've blanked out the most important part of the URL - is it https?

2 Do you actually have an SSL certificate on your server


In reply to Just H

Re: url shows not secure connection

by Abu Ali -

  1. No it is not https. it is only http
  2. yes i have ssl certificate on my server and i have attached a picture of ssl from my server.

please help me out to make it secure.

Attachment Capture.PNG
In reply to Abu Ali

Re: url shows not secure connection

by Stefan Roder -

Hi everybody


I can confirm this behavior allthough I can't reproduce it all the time.

It happens on Chrome Version 56.0.2924.87 (64-bit) on a Windows 10 System (but not on Ubuntu). IE 11 is not affected (which actually surprises me smile ).

My SSL certificate is valid and works for most of the Browsers.

Maybe it's because I use SSL only for the login page?

Please see attached Picture.


Best regards,


Stefan

In reply to Abu Ali

Re: url shows not secure connection

by Just H -

Add the "s" to test (i.e. "https"), if good, then redirect all requests by adding the following to your .htaccess file:

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
Note: you'll have to do a search and replace to change all existing URLs (inbuilt tool at yourmoodlesite.org/admin/tool/replace/index.php).

In reply to Just H

Re: url shows not secure connection

by Abu Ali -

after adding http(s) is not opening. i think it is a problem of SSL but i don't know how to configure ssl in hostgator.

              please if any one have solution to this problem, guide me. my purpose is to secure the connection of Moodle.