How to Enable HTTPS Using a Free SSL Certificate from Certbot

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 77

  • @yakinbama
    @yakinbama 2 года назад +6

    Simple. Straightforward. Neither more nor less than exactly what I needed. You, sir, rock! 👏👏👏

  • @dodokwak
    @dodokwak 3 года назад +10

    Thanks. Small tip to avoid some troubles: be sure that you open port 443 in your firewall; otherwise you'll get no trafic

    • @Angeliz225
      @Angeliz225 8 месяцев назад

      How to do that?

    • @mass1023
      @mass1023 5 месяцев назад +2

      wasted a whole afternoon because of this, thanks for the tip

  • @mwparker1969
    @mwparker1969 6 месяцев назад

    Wow, that was easy! Purchasing the ssl certificate, generating the key, submitting the key and setting up the key in your webserver can be daunting. I really liked this. Thanks!

  • @devonmcmillin584
    @devonmcmillin584 Год назад +5

    I am attempting this from Ubuntu 22.04 LTS with nginx. It looks like the packages mentioned in this video no longer exist within APT. According to Certbot's website, they recommend running the snap rather than an installation through APT. Is there any issue with taking the approach of Certbot's documentation, rather than the one outlined in this video?

    • @darn2926
      @darn2926 Год назад

      hey did you finish the process, cause i am about to start

  • @Otieno.George
    @Otieno.George 3 месяца назад

    Thanks man! Thanks a lot. This one here saved me at a time I most needed it.

  • @kanagawa8964
    @kanagawa8964 2 года назад +2

    Such great content. Exactly what I've been looking for. Thank you Jay.

    • @kanagawa8964
      @kanagawa8964 2 года назад +1

      Just a side note for anyone who might need this, in case apt can't find python-certbot-apache, try python3-certbot-apache instead. It works for me.

  • @diegkol
    @diegkol Год назад +1

    Thank you Jay! This still works. Just needed to change install python to python3.

  • @peace7377
    @peace7377 2 года назад +2

    you are using subdomain. is it the same for domain? what configuration we need to have on domain provider like godadddy? i am having this issue. Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.

  • @elvisadjei2062
    @elvisadjei2062 4 года назад +3

    Nice one. Well explained. I was running into all sort of issue not knowing I was running on Nginx and my commands had *apache* instead of "nginx".

  • @anthonysantana4278
    @anthonysantana4278 2 года назад +1

    I have a quiestion, I am using nginx reverse proxy, and I have two independent self hosted servers, that utilizing port 80. Do I need to get a domain name for the nginx server so I can use Lets Encrypt to secure my other servers?

  • @laszlob3683
    @laszlob3683 6 месяцев назад

    but there is an error that says The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.

  • @terrytas13
    @terrytas13 3 года назад +1

    Super helpful! Worked like a charm

  • @bbbeno
    @bbbeno 2 года назад +1

    Fantastic. Works like charm. Thanks!!!!!!!!

  • @AbarSimorgh
    @AbarSimorgh 3 года назад +1

    Thank you for sharing. Greatly appreciated.
    Does certbot has to be run on the same machine as the web server is on, to install and/or renew the SSL certificate?

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 года назад +3

      Thanks Kourosh. Yes, you must run certbot from a session on the machine that the web server is installed on.

    • @AbarSimorgh
      @AbarSimorgh 3 года назад

      @@AkamaiDeveloper Thank you.

  • @anoldslowhorse
    @anoldslowhorse 2 года назад +1

    Very useful video... Thanks

  • @bbowling4979
    @bbowling4979 2 года назад +1

    This is a very well produced video and explains things very clearly. One question I have is how do you make sure certbot is running if the server restarts, etc.? Was that set up automatically?
    Thank you.

    • @Bilo_7
      @Bilo_7 Год назад

      Ask ChatGBT

  • @eugenea8264
    @eugenea8264 Год назад +4

    sudo apt install -y certbot python3-certbot-apache

  • @ericd2943
    @ericd2943 2 года назад +1

    hey @Jay Lacroix would you know how to set this up with a Ubuntu 20.04 nginX rev proxy server and a domain from freeDNS? i'm struggling here to get this working not many tutorials found! any help is appreciated tnx

  • @o_alexandre
    @o_alexandre Год назад

    Hi, does anyone know what's going on in this case? i did it this whole process and it worked perfectly. Now for the second time i always get the message Challenge failed for domain type unauthorized, invalid response. What should I do?

  • @arashjaan2049
    @arashjaan2049 3 года назад

    Thank you, the information is useful, but is it possible to use the IP address instead of the domain, and how is this done?

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 года назад

      This thread should answer your questions stackoverflow.com/questions/2043617/is-it-possible-to-have-ssl-certificate-for-ip-address-not-domain-name

  • @korisnik4321
    @korisnik4321 Год назад

    How to do that with wildfly server 30?

  • @dimitris-panagiotisparaske9061
    @dimitris-panagiotisparaske9061 3 года назад

    Do you not need to update the web server config as well? Or does certbot do it automatically?

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 года назад

      According to their docs: "installing that certificate to supported web servers (like Apache or nginx) and other kinds of servers is done by automatically modifying the configuration of your server in order to use the certificate." more info here: certbot.eff.org/docs/using.html#getting-certificates-and-choosing-plugins

  • @problindsapp
    @problindsapp 2 года назад +1

    In my case it was --- apt install certbot python3-certbot-apache

  • @FelhasznaloAltalanos-ip6du
    @FelhasznaloAltalanos-ip6du 4 месяца назад

    doies not work on ubuntu.
    Beter command: sudo apt install -y certbot python3-certbot-apache
    But it failed anyway with apache2 errors. Dont wste your time with this

  • @davidruiz5810
    @davidruiz5810 3 года назад

    It works but I misconfigure resources on my site, what should I do?

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 года назад

      We'd suggest you open a ticket with our support team to provide further information. This page show options on how to reach out www.linode.com/support/

  • @serpantinthewild
    @serpantinthewild 3 года назад

    is this SSL certificate enough for an ecommerce site?

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 года назад

      Yes, this will enable https on your site to protect the communication between your browser and server from being intercepted.

    • @serpantinthewild
      @serpantinthewild 3 года назад

      @@AkamaiDeveloper When I googled a lot of articles state that I need an EV SSL certificate if it's an ecommerce site and has sensitive customer data like credit cards etc. but these EV certificates are very expensive, I'm sticking with Let's Encrypt :)

  • @michalroesler
    @michalroesler Год назад

    I've been typing comments under this video like 5 or 6 times. I usually wrote something like "this video is awesome. thank you Jay". But no matter what I write in that comment, when I come back to this video after a month or two, my comments are not here anymore. I don't know why this youtube algorithm keeps deleting my comments. I know a comment like: "this video is awesome." isn't very valuable, but is it as bad, that it needs 2 be deleted automatically?

  • @patrickhedley-miller2958
    @patrickhedley-miller2958 3 года назад +1

    great job, as per usual

  • @tukuislam8106
    @tukuislam8106 3 года назад

    How to Set Up for Multiple Apache Virtual Hosts ?? Please Help Me

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 года назад

      Hey Tuku, this answer from the community site should help:
      www.linode.com/community/questions/35/how-do-i-host-multiple-websites

  • @ahmad1980595
    @ahmad1980595 Год назад

    Hello sir this is amazing video , we need another video to explain how to make ssl/tls in simple way for (DNS-Pihole) , thanks

  • @abdouazizseck8838
    @abdouazizseck8838 4 года назад +3

    How to know whether you're using Nginx or apache

    • @AkamaiDeveloper
      @AkamaiDeveloper  4 года назад +1

      Hello! This is a great question, and we wanted to link you to a post from the #LinodeCommunity that shows you how:
      www.linode.com/community/questions/19845/how-do-i-see-which-web-server-software-im-running

    • @abdouazizseck8838
      @abdouazizseck8838 4 года назад +1

      Oh i found it out! If you are from Linode just type:
      ss -plunt | grep ':80\|:443'

    • @abdouazizseck8838
      @abdouazizseck8838 4 года назад +1

      @@AkamaiDeveloper Oh thanks

  • @rakeshpk4991
    @rakeshpk4991 3 года назад

    Thank you very much.

  • @rahmonpro381
    @rahmonpro381 3 года назад

    thank you it was useful :)

  • @henkoegema6390
    @henkoegema6390 4 месяца назад

    Works perfectly fine on a (old) Raspberry Pi. 😀 With Raspbian OS (Buster)

  • @marcmanleydev7624
    @marcmanleydev7624 3 года назад +1

    Super helpful!

  • @nringchamaung9812
    @nringchamaung9812 3 года назад

    Vrery clear. But, how can I install ssl for laravel application? You show with pyton. thank

    • @nringchamaung9812
      @nringchamaung9812 3 года назад

      I am linode user.

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 года назад

      @@nringchamaung9812 Hi Ko! You can use Certbot with Laravel in the same manner as shown in the video.

    • @nringchamaung9812
      @nringchamaung9812 3 года назад

      @@AkamaiDeveloper Thank you so much! Now, I got it. Lovely linode 😍

    • @nringchamaung9812
      @nringchamaung9812 3 года назад

      @@AkamaiDeveloper If you can guide me, I would like to ask a problem. How to run and config websocket in nginx without "php artisan websocket:serve" command. thank.

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 года назад +1

      @@nringchamaung9812 Check out this guide from Nginx, which should help you out: www.nginx.com/blog/websocket-nginx/

  • @luftstolle
    @luftstolle 9 месяцев назад

    That sounds awful. Why does it have to mess with the web server configuration?

  • @BigRedAdventures
    @BigRedAdventures 4 года назад +1

    Simple enough!

  • @Georgestvr
    @Georgestvr 2 года назад

    I dont know why but i followed ur steps but its saying ur Certificate is not valid

    • @AkamaiDeveloper
      @AkamaiDeveloper  2 года назад

      We'd recommend using an online SSL checker to see what needs to be addressed: www.ssllabs.com/ssltest/
      If you're still stuck try posting to the Linode Community Questions page with details like the URL and any error messages: www.linode.com/community/questions/ask

    • @Georgestvr
      @Georgestvr 2 года назад

      @@AkamaiDeveloper thank you for the reply.
      I fixed it the problem was in the wordpressi had the ip as a primary domain and not example.com domain

  • @AimN3t
    @AimN3t 3 года назад

    Thanks men

  • @Aminchavarria
    @Aminchavarria 3 года назад

    Great!!!

  • @ViralManiaTV
    @ViralManiaTV 3 года назад

    Nothing is working it won't allow me to call you from UK? Everything I try mate. Wtf?

    • @AkamaiDeveloper
      @AkamaiDeveloper  3 года назад

      Have you tried calling from our global number? +1-609-380-7100
      If you can't access your account you can reach support at support@linode.com

  • @NSAwatchesME
    @NSAwatchesME 2 года назад

    this is useless to me
    i have cpanel

    • @amanuelelhanan4716
      @amanuelelhanan4716 2 года назад

      if you will going to use a different server for your web server then you will need that, for now, I think you are hosting your web on the hosting company that provides you Cpanel to manage your disks and SSL.

  • @ДаниелДианов
    @ДаниелДианов 2 дня назад

    It's python3-certbot-nginx, not python-certbot-nginx if someone is getting the same error that I encountered which was "Unable to locate package python-certbot-nginx"