How to Install a Free SSL Certificate with Let's Encrypt (on Nginx and Apache websites)

preview_player
Показать описание
Learn how to install a free Let's Encrypt SSL certificate with Certbot for your website on an Apache or Nginx web server. Although this video tutorial demonstrates how to do this with WordPress on an Ubuntu Linode server, the same concept applies on pretty much any other web hosting provider where you have ssh root access and a domain name.

Check out my vlog channel @TonyFlorida

#letsencrypt #certbot #wordpress #linode
Рекомендации по теме
Комментарии
Автор

Essentially after you have set up your nginx or apache server you execute

1) sudo apt install certbot python3-certbot-nginx
2) sudo certbot --nginx (dash dash)
You fill the questions being asked and then it is automated to update the nginx configuration file and then you are good to go!

Thanks a lot for your video. Saved me hours of searching.

thodorispaparrigopoulos
Автор

Some considerations:
- The package now is called python3-certbot-apache
- If someone is doing this at home, make sure to set the firewall to open port 443 (ufw for ubuntu) and NAT port forwarding from port 443 to the internal ip address and the port in which the the website is hosted, normally also 443).

Thanks, Tny

ebiscaia
Автор

Thank you so much man. I have been stuck trying to install namecheap's ssl onto my contabo VPS with winSCP and I couldn't transfer any of my crt and ca_bundle files. I couldn't even create a file and edit/save my cert on my server via winSCP or Putty. I then moved on to VNC viewer to try and create/edit crt and ca_files via Vim editor. But then I was stuck again trying to access my system clipboard. No matter how many forums or Youtube videos I visited for vim, I couldnt solve the issue I was facing. I really appreciate your video man! You got a sub!

Also if anyone is using Ubuntu and can't do the certbot installation, try "sudo apt install -y certbot python3-cerbot-apache" hope you success!

healthyloaf
Автор

Good video, I struggled for hours before getting to this video and like magic sorted in 5min

emmersonmax
Автор

Very helpful, easy and straight to the point! I liked the fact that you showed the config file in /etc/apache2/ ...

What if I want to get a wildcard certificate? can you please do a tutorial on that? thanks a lot!

SuperMuath
Автор

I believe you mentioned namecheap, does it work for namecheap shared hosting package? Do you need to have delicate ip to install the ssl cert as you shown here?

ohmyadsd
Автор

Thank you so much! It works Great! :) *Just remind to do the "tab"-pressing in the conf-file, otherwise the reroute from http to https will not work, looks like a bug in certbot! Thank you :)

tommyrobe
Автор

Thanks for the video! I'd love to have that cron job tutorial on automating the https get together.

_zhro_
Автор

How do you write this to execute by a bash script (no interactivity)

charlesderek
Автор

Hi Tony, You use Linode for wordpress hosting and ssl but how about the email server? In shared hosting we got webmail system is there anything like that? Thank you for your tutorial.

khandakershahi
Автор

Thank you for the video very easy to follow. Now my site is secure!!!! XD

paulfitz
Автор

I only have access to Cloudflare account can I still do this?

bobsigny
Автор

Thanks for the video! I encounter problem on 4:14 when i run command certbot --apache output " *the requested apache plugin does not appear to be installed* "
How can i resolve this? Appreciate.

NelsonIzack
Автор

I can't seem to find the apache2 folder

mauwiks
Автор

Cant it be done on Hostinger's "Business Shared Hosting" plan. I have SSH access but can't implement your exact process.

fahadfaysal
Автор

Hi ! Thanks for the tutorial, but after doing that I'm having a redirection error ERR_TOO_MANY_REDIRECTS. What should I do ? Having that my wordpress is inside a docker container and that I'm using reverse proxy configuration.

MrMetallica
Автор

Hi man after installing the SSL certificate, i can no longer access the Admin dashboard. Can you please advise on that issue

hamzasamlali
Автор

Can this work when I don't host my domian only point it to a vps servers with no control panel but I've set A record and NS records.I'm unable to get SSL install on my domain.

jillsarkozi
Автор

How can I get the "wordpress.conf" file?

josetellez
Автор

Can you show how to disable https redirect for a folder on apache 2 ?

kak