create account

How can you get a free ssl certificate for your site? by luciancovaci

View this thread on: hive.blogpeakd.comecency.com
· @luciancovaci · (edited)
$3.01
How can you get a free ssl certificate for your site?
Do you have a blog or site and want to get an SSL certificate for your site?
You found out that it's important for Google to have an SSL certificate on your site to count on Google results!

![free-ssl.png](https://steemitimages.com/DQmeUopNdPZ89XRjXQXocdDUhD25mqTFrEkE5ShdEtmnyYZ/free-ssl.png)

I'll show you how I did for my blog https://blog.ceae.info/ 

We found last year the project "<a href="https://letsencrypt.org/">Let's Encrypt</a>"
![Selection_015.jpg](https://steemitimages.com/DQmeC6YkgYBGL8XGSyhDGqBtAMksvGjdqazLvbSat36egc6/Selection_015.jpg)

It is a project supported by several corporations.   The list below !
![Selection_016.jpg](https://steemitimages.com/DQmPAbyMor9Lb41Hqvg6FXG5FbFPJ3uCTLuwRqAHNZ8ZXqo/Selection_016.jpg)

I have followed the explained steps for shell access because I have my own blog server, and I think it's the easiest way.
More information and explanations here https://letsencrypt.org/getting-started/

Even their recommendation is to use the shell access path, since you choose this path you are redirected to another site where you download an application https://certbot.eff.org/#centosrhel7-apache
In the above link I have already selected Apache with Centos 7.
Go to your server in the shell and write.
<pre>yum install certbot-apache</pre>

It installs what you need to put the SSL certificate.

Next step
<pre>certbot --authenticator webroot --installer apache</pre>

And that's it, you'll get a 3-month free certificate.
For renewal you only have to do the next step:
<pre>certbot renew --dry-run</pre>

<h2>Case 2 now</h2>
Let's say you have multiple sites on your server and you only want a SSL certificate for a site.
Step 1:  ( real example )
Execute the command:
<pre>certbot certonly --webroot -w /var/www/html/itsmartsystems.tk -d www.itsmartsystems.tk</pre>
Suppose we already installed certbot ( yum -y install certbot )
For the above case we want to for an ssl certificate for the www.itsmartsystems.tk domain.
The result after I run certbot:
<pre>
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.itsmartsystems.tk
Using the webroot path /var/www/html/itsmartsystems.tk for all unmatched domains.
Waiting for verification...
Cleaning up challenges

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/www.itsmartsystems.tk/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/www.itsmartsystems.tk/privkey.pem
   Your cert will expire on 2018-04-28. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le
</pre>

Now we need to edit the configuration file in VHOST.
vim /etc/httpd/conf.d/VHOSTS-le-ssl.conf 
<pre>
<  IfModule mod_ssl.c  >
<VirtualHost 172.41.1.100:443>
        <Directory /var/www/html/luconsult.tk>
                Order deny,allow
                Allow from all
                DirectoryIndex index.html
                Options +Indexes
        </Directory>
        ServerName www.itsmartsystems.tk
        ServerPath /itsmartsystems.tk
        DocumentRoot /var/www/html/itsmartsystems.tk
        CustomLog /var/log/httpd/isstk_access.log common
        ErrorLog /var/log/httpd/isstk_error.log
SSLCertificateFile /etc/letsencrypt/live/www.itsmartsystems.tk/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.itsmartsystems.tk/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/www.itsmartsystems.tk/fullchain.pem
</VirtualHost>
<  /IfModule  >
</pre>
After that, we restart the apache server.
<pre>systemctl restart httpd</pre>
You can see the result here: https://www.itsmartsystems.tk/

After the expiration of the certificate, we only have this step.
<pre>certbot renew</pre>

Enjoy and happy new day !

Source: https://certbot.eff.org/docs/using.html
👍  , , , , , , , , , , ,
properties (23)
authorluciancovaci
permlinkhow-can-you-get-a-free-ssl-certificate-for-your-site
categorylinux
json_metadata{"tags":["linux","opensll","free","website","ro"],"image":["https://steemitimages.com/DQmeUopNdPZ89XRjXQXocdDUhD25mqTFrEkE5ShdEtmnyYZ/free-ssl.png","https://steemitimages.com/DQmeC6YkgYBGL8XGSyhDGqBtAMksvGjdqazLvbSat36egc6/Selection_015.jpg","https://steemitimages.com/DQmPAbyMor9Lb41Hqvg6FXG5FbFPJ3uCTLuwRqAHNZ8ZXqo/Selection_016.jpg"],"links":["https://blog.ceae.info/","https://letsencrypt.org/","https://letsencrypt.org/getting-started/","https://certbot.eff.org/#centosrhel7-apache","https://letsencrypt.org/donate","https://eff.org/donate-le","https://www.itsmartsystems.tk/","https://certbot.eff.org/docs/using.html"],"app":"steemit/0.1","format":"markdown"}
created2018-01-28 08:50:03
last_update2018-01-28 11:06:54
depth0
children3
last_payout2018-02-04 08:50:03
cashout_time1969-12-31 23:59:59
total_payout_value2.320 HBD
curator_payout_value0.694 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,322
author_reputation1,039,569,208,132
root_title"How can you get a free ssl certificate for your site?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,951,445
net_rshares364,033,373,490
author_curate_reward""
vote details (12)
@boomerang ·
This post has received a 1.25 % upvote from @boomerang thanks to: @luciancovaci
properties (22)
authorboomerang
permlinkre-how-can-you-get-a-free-ssl-certificate-for-your-site-20180128t201746
categorylinux
json_metadata"{"app": "pysteem/0.5.2"}"
created2018-01-28 20:17:48
last_update2018-01-28 20:17:48
depth1
children0
last_payout2018-02-04 20:17:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length79
author_reputation1,273,205,827,891
root_title"How can you get a free ssl certificate for your site?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id33,092,253
net_rshares0
@litasio ·
<center><img src="http://litas.io/litasio-postlogo.png" alt="LitasIO"></center>


<p>Well done! This post has received a 100.00 % upvote from @litasio thanks to: @luciancovaci. Whoop!</p>

<p>If you would like to delegate to the @LitasIO you can do so by clicking on the following link: <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=litasio&vesting_shares=20489%20VESTS">10SP</a></p>
properties (22)
authorlitasio
permlinkre-luciancovaci-how-can-you-get-a-free-ssl-certificate-for-your-site-20180128t221416171z
categorylinux
json_metadata{"tags":["linux"],"app":"drotto/0.0.3"}
created2018-01-28 22:14:33
last_update2018-01-28 22:14:33
depth1
children0
last_payout2018-02-04 22:14:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length423
author_reputation60,330,360,021
root_title"How can you get a free ssl certificate for your site?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id33,114,787
net_rshares0
@payme0.com ·
100% guarantee solution for SSL working find here https://www.godaddy.com/community/SSL-And-Security/SSL-100-Working/td-p/130568
👎  
properties (23)
authorpayme0.com
permlinkre-luciancovaci-how-can-you-get-a-free-ssl-certificate-for-your-site-20190305t104935231z
categorylinux
json_metadata{"tags":["linux"],"links":["https://www.godaddy.com/community/SSL-And-Security/SSL-100-Working/td-p/130568"],"app":"steemit/0.1"}
created2019-03-05 10:49:36
last_update2019-03-05 10:49:36
depth1
children0
last_payout2019-03-12 10:49:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length128
author_reputation-219,591,387,894
root_title"How can you get a free ssl certificate for your site?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id80,765,726
net_rshares-52,275,635,819
author_curate_reward""
vote details (1)