First buy SSL certificate and follow there guideline to install on your webhosting. Once you done with share steps, then go to root .htaccess file and Find the code line:
RewriteEngine on
And add this code snipped below it:
# Redirect to HTTPS
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Hi.. What is the validity for free certificate... I was looking on the internet and there are firms offering cheal ssl solutions.. How effective are those certificates? https://ssl.comodo.com is offering very cheap certficates for single website
In terms of validation, free certificates don't differ from paid certificates. You can configure automatic renewal (generation of new certificates) and forget about the certificate in general. Any cheap (or not so) certificate will have to be updated manually after paid. Here is an example of a site on a free certificate from Let's Encrypt: https://www.internetsociety.org/ You can explore the certificate in your browser.
Comments
First you need to purchase
First you need to purchase SSL certificate to use HTTPS. Check with your hosting provider about the same.
SSL Setup on Drupal 8
First buy SSL certificate and follow there guideline to install on your webhosting. Once you done with share steps, then go to root .htaccess file and Find the code line:
RewriteEngine on
And add this code snipped below it:
# Redirect to HTTPS
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
=-=
the question is best served in the 'post installation' forum. Please edit and move your post. Thank you.
Answer
First, buy SSL certificate and follow their guideline to install on your web hosting
SSL certificate
You can use the free service to generate a certificate. For example, Let’s Encrypt
SSL Certificate
Hi.. What is the validity for free certificate... I was looking on the internet and there are firms offering cheal ssl solutions.. How effective are those certificates? https://ssl.comodo.com is offering very cheap certficates for single website
SSL Certificate
In terms of validation, free certificates don't differ from paid certificates. You can configure automatic renewal (generation of new certificates) and forget about the certificate in general. Any cheap (or not so) certificate will have to be updated manually after paid. Here is an example of a site on a free certificate from Let's Encrypt: https://www.internetsociety.org/ You can explore the certificate in your browser.