Тёмный
No video :(

How to Secure Nginx with Lets Encrypt on Ubuntu 20.04 with Certbot? 

Anton Putra
Подписаться 54 тыс.
Просмотров 46 тыс.
50% 1

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 134   
@AntonPutra
@AntonPutra 11 месяцев назад
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@douglasvalerio8880
@douglasvalerio8880 2 года назад
This is by far the most complete example I've found on this subject, thanks for sharing
@AntonPutra
@AntonPutra 2 года назад
Welcome!
@abdullahaathif291
@abdullahaathif291 2 года назад
Perfect tutorial! Installed on my instance along with the video, now my site is encrypted! You are just awesome Anton. Love from Sri Lanka
@AntonPutra
@AntonPutra 2 года назад
Welcome!
@lewisbrowne8799
@lewisbrowne8799 4 месяца назад
been scratching my head at this for days can't believe its that simple, thanks Anton!
@AntonPutra
@AntonPutra 4 месяца назад
thanks
@CalpachinoMrcroner
@CalpachinoMrcroner 10 месяцев назад
THANKK YOUUUUUU I LOVE YOU I TOOK 16 HOURS WATCHING USELESS TUTORIALS USING OUTDATED NGINX THAT NEVER WORKED BUT YOURS WAS AMAZING THANK YOU
@AntonPutra
@AntonPutra 10 месяцев назад
Thanks Cronerstat!
@AntonPutra
@AntonPutra Год назад
👉 How to Manage Secrets in Terraform - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-3N0tGKwvBdA.html 👉 Terraform Tips & Tricks - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-7S94oUTy2z4.html 👉 ArgoCD Tutorial - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zGndgdGa1Tc.html
@sankalpmukim1052
@sankalpmukim1052 Год назад
God Tier Video! Teaches wayy more than in the title! SUperb in best practices!
@AntonPutra
@AntonPutra Год назад
Thanks!
@MM-nj4im
@MM-nj4im 3 месяца назад
Best explanation straight to the point, thanks!
@AntonPutra
@AntonPutra 3 месяца назад
thank you!
@Aidennification
@Aidennification 2 года назад
Perfect tutorial! Only snag I ran into after installing the test certificates was the request timing out. Turns out, I hadn't enabled port forwarding on port 443, so be sure to double check!
@AntonPutra
@AntonPutra 2 года назад
Thanks!
@darn2926
@darn2926 Год назад
Hello i think am having this issue , can you tell me how to resolve it. Thanks in advance
@AntonPutra
@AntonPutra 3 года назад
⏱️TIMESTAMPS⏱️ 0:00 Intro 1:01 Create EC2 Instance in AWS Ubuntu 20.04 LTS 3:39 Install Nginx Ubuntu 20.04 LTS 6:06 Nginx Setup Server Block 9:25 Install Certbot on Ubuntu 20.04 LTS 10:23 Secure Nginx with Lets Encrypt on Ubuntu 20.04 LTS
@dwiwahyudi9698
@dwiwahyudi9698 6 месяцев назад
I liked your video 3000 times, hahaha... Thank you very much for this tutorial, it is the most perfect tutorial for certbot and nginx, it really saves me a lot of time. I'll be sure to watch your other videos.
@savejshaikh3996
@savejshaikh3996 5 месяцев назад
Thank you................ You made my day. perfect to the point. just follow along and it will work.
@AntonPutra
@AntonPutra 5 месяцев назад
My pleasure
@OPPACHblu_channel
@OPPACHblu_channel 5 месяцев назад
Thanks for the video, exactly what was I looking for. Short and detailed 👍👍👍
@Gwen-mw3rs
@Gwen-mw3rs 2 года назад
This is super amazing video !!! It was so difficult to get ssl from other blogs or youtube . this is simple and perfect thanks a lot
@AntonPutra
@AntonPutra 2 года назад
Thank you!
@user-es4db3cb2m
@user-es4db3cb2m 7 месяцев назад
Бро, красава лучший! Просто тигррр! Всё четко и понятно, еще и ссылку на команды оставил просто легенда!
@AntonPutra
@AntonPutra 7 месяцев назад
spasibo )
@eddieespinal8326
@eddieespinal8326 Год назад
Great video!, exactly what I was looking for. Thank you!
@AntonPutra
@AntonPutra Год назад
Thanks Eddie!
@sergiboquerafuentes7134
@sergiboquerafuentes7134 2 года назад
You are my hero bro! you saved my day. Thanks for the amazing content
@AntonPutra
@AntonPutra 2 года назад
Thanks Sergi!
@julesverne2125
@julesverne2125 2 года назад
Thanks for video. in other tutorials no one told about include sites-enabled to nginx.conf
@AntonPutra
@AntonPutra 2 года назад
You're welcome!
@danyalutsevich
@danyalutsevich Год назад
TTL measures not in seconds it is the maximum number of redirects that can occur while your packets go from server to your computer
@AntonPutra
@AntonPutra Год назад
thanks for the feedback, but I don't remember where in the video I used that phrase =)
@ryanmckenna2047
@ryanmckenna2047 Год назад
Really well explained thanks bunches!
@AntonPutra
@AntonPutra Год назад
Thanks Ryan!
@tonya3570
@tonya3570 Год назад
excellent detailed tutorial, thanks!👍
@AntonPutra
@AntonPutra Год назад
Welcome!
@noscopedemon4308
@noscopedemon4308 4 дня назад
When I type "sudo apt install nginx=1.20.1-1~focal" I get the error: Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: nginx : Depends: libssl1.1 (>= 1.1.1) but it is not installable E: Unable to correct problems, you have held broken packages. Even if I type "sudo apt install nginx," I am getting the error: The following information may help to resolve the situation: The following packages have unmet dependencies: nginx : Depends: libssl1.1 (>= 1.1.1) but it is not installable E: Unable to correct problems, you have held broken packages. what do I do, kindly help.
@AbhishekSingh-cg3fx
@AbhishekSingh-cg3fx 8 месяцев назад
thanks for sharing this
@lovekushtari
@lovekushtari Год назад
Perfect Video. Thanks 🙌🙌
@AntonPutra
@AntonPutra Год назад
You're welcome!
@jeffalomaniacemail2956
@jeffalomaniacemail2956 Год назад
still great help today, thank you
@AntonPutra
@AntonPutra Год назад
welcome
@humanityasascience1324
@humanityasascience1324 Год назад
amazing video, thank you for this!
@AntonPutra
@AntonPutra Год назад
My pleasure!
@JS-vw7to
@JS-vw7to 3 месяца назад
Amazing explanation
@AntonPutra
@AntonPutra 3 месяца назад
thank you!
@mukulrana1616
@mukulrana1616 2 года назад
Great tutorial. Thank you!
@AntonPutra
@AntonPutra 2 года назад
You're very welcome!
@claudioooliveira
@claudioooliveira Год назад
Great tutorial!! Thank you
@AntonPutra
@AntonPutra Год назад
Thanks!
@user-yr7cu9cl2k
@user-yr7cu9cl2k Год назад
THANK YOUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU❤❤❤❤
@AntonPutra
@AntonPutra Год назад
welcome :)
@Fayaz-Rehman
@Fayaz-Rehman 3 года назад
Great - Thank you for sharing.
@AntonPutra
@AntonPutra 3 года назад
You're welcome :)
@hasanerken9604
@hasanerken9604 3 года назад
Great video and explanation, thanks
@AntonPutra
@AntonPutra 3 года назад
Thanks Hasan!
@horseprofesseur7648
@horseprofesseur7648 2 года назад
helped me a lot, thank you!!
@AntonPutra
@AntonPutra 2 года назад
Glad to hear that!
@imedkharrat3754
@imedkharrat3754 9 месяцев назад
big thank men , god bless youu
@sureshkoppisetty6862
@sureshkoppisetty6862 2 года назад
Thank you Anton..... great video, its helped me lot...... quick question : Can i secure the domain which hosted internally with certbot ? if yes, pls tell me how....
@AntonPutra
@AntonPutra 2 года назад
Thanks, no you can't use certbot for private domains. You need to create your own CA and issue certificates for your domains.
@nikhilkrishna9740
@nikhilkrishna9740 2 года назад
Thank you. This video helped me.
@AntonPutra
@AntonPutra 2 года назад
Thanks Nikhil!
@hamitkamberi4134
@hamitkamberi4134 Год назад
It helped me a lot thank you !
@hemantharajanvenkatesan8220
@hemantharajanvenkatesan8220 2 года назад
Really thank you for this video
@AntonPutra
@AntonPutra 2 года назад
welcome!
@jakubvala4345
@jakubvala4345 3 года назад
Hi Anton, thanks for the video, it's really helpfull. One question though, is it possible to run it like you did on a linux server with docker/docker-compose?
@AntonPutra
@AntonPutra 3 года назад
Yes, absolutely. Just mount the volume with the cert location to the docker container. If you run docker use '-v' flag or with compose "volumes".
@marcioantoniodefreitasjuni5684
Really helped me!!
@iHate2x
@iHate2x Год назад
My domain is connected with the server ip, using ping on the domain pings the server ip as expected. But when go to domain via browser it doesn't show the html, instead i get "connection refused" error
@AntonPutra
@AntonPutra Год назад
looks like the server is not running. Check with "nc -vz " for example "nc -vz google.com 80"
@dileepnagendra8199
@dileepnagendra8199 Год назад
Great
@AntonPutra
@AntonPutra Год назад
Thanks
@fizzwithnorizzz
@fizzwithnorizzz Год назад
Really helpful, thank you so much!
@AntonPutra
@AntonPutra Год назад
Thanks Mandeep!
@ahmedhaggag8360
@ahmedhaggag8360 Год назад
can you help me , i getting this error i use ubuntu 20.04 error: system does not fully support snapd: cannot mount squashfs image using "squashfs"
@AntonPutra
@AntonPutra Год назад
I think in new ubuntu releases they deprecated snap packages, try pip or apt sudo apt install python3-pip sudo -H pip3 install certbot askubuntu.com/questions/1278936/install-certbot-on-ubuntu-20-04
@issahalabi99
@issahalabi99 10 месяцев назад
Thanks
@AntonPutra
@AntonPutra 10 месяцев назад
Thank you!
@josefu-san
@josefu-san 3 месяца назад
❤❤❤❤🔥🔥
@AntonPutra
@AntonPutra 3 месяца назад
❤️
@sumanthsai4015
@sumanthsai4015 2 года назад
Hi Anton, if possible please try to use certbot to install certificate on a private ec2 instance where nginx is installed
@AntonPutra
@AntonPutra 2 года назад
private means no internet access or you have NAT?
@sumanthsai4015
@sumanthsai4015 2 года назад
@@AntonPutra using alb , iam doing installation of nginx into private ec2.for that I need ssl
@habibicoding
@habibicoding Год назад
Great video!
@akshaypant8883
@akshaypant8883 3 года назад
Waiting for customer support slack app with node.js 🤗👍
@AntonPutra
@AntonPutra 3 года назад
Someday😊
@InverserPro
@InverserPro Год назад
Thank u, братик)
@AntonPutra
@AntonPutra Год назад
welcome :)
@barakadewise7200
@barakadewise7200 5 месяцев назад
served my day
@craigrooney5459
@craigrooney5459 Год назад
great tutorial.
@AntonPutra
@AntonPutra Год назад
Thank you!
@sereose
@sereose 3 года назад
No infrastructure as a code ? :) Thank you for great work!
@AntonPutra
@AntonPutra 3 года назад
Thanks, I hope by Thursday I'll make one, EKS + Secrets Manager :)
@DolevDublon
@DolevDublon 3 месяца назад
good!
@AntonPutra
@AntonPutra 3 месяца назад
thanks!
@qwertyqwerty7101
@qwertyqwerty7101 2 года назад
many thanks!
@AntonPutra
@AntonPutra 2 года назад
Welcome!
@rajusah3376
@rajusah3376 2 года назад
How to connect nodejs app running on port 3000 & 3001 to subdomain api & hello respectively ?
@AntonPutra
@AntonPutra 2 года назад
you can forward to any backend service and any port, you can declare it in nginx conf
@yoskokleng3658
@yoskokleng3658 5 месяцев назад
for google manage domain, Only your browser can access with that domain name or everyone also can access it? I am confusing that we can make our domain for free instead of buy for Hosting provider. thanks
@AntonPutra
@AntonPutra 5 месяцев назад
Google domains is public host provider, but you still need to register your domain with someone on the internet. It cannot be free
@yoskokleng3658
@yoskokleng3658 5 месяцев назад
Seems you have very good knowledge with Linux command. Have you make a tutorial about it? Thanks@@AntonPutra
@sandimuhamad7920
@sandimuhamad7920 Год назад
Cool, btw are u from indonesia?
@AntonPutra
@AntonPutra Год назад
nope, but i hear that a lot =)
@salmanifrahim3245
@salmanifrahim3245 2 года назад
thank you!
@AntonPutra
@AntonPutra 2 года назад
You're welcome!
@EwertonDutra
@EwertonDutra Год назад
Hi, I need make backup something, to make a install new ?
@AntonPutra
@AntonPutra Год назад
you can clone your existing nginx config for selected endpoint just in case if you want to restore
@harshpatel105
@harshpatel105 Год назад
thanks a lot
@AntonPutra
@AntonPutra Год назад
welcome!
@treshongriffin4161
@treshongriffin4161 2 года назад
how do i save when i get to the deb and deb-src? im stuck there and trying to code pokt nodes and need help
@AntonPutra
@AntonPutra 2 года назад
1. Press Esc 2. Type :x 3. Press Enter
@AntonPutra
@AntonPutra 2 года назад
or you can use nano text editor, it maybe easier
@treshongriffin4161
@treshongriffin4161 2 года назад
@@AntonPutra do you have discord? i need some help
@AntonPutra
@AntonPutra 2 года назад
@@treshongriffin4161 I do - discord.gg/Wy5SPDSTjX you can describe the problem, I'll take a look later tonight
@matyasmarkkovacs8336
@matyasmarkkovacs8336 Год назад
Does it enable HSTS?
@AntonPutra
@AntonPutra Год назад
well, it does create redirect from 80 to 443, i don't remember about the header part. You can check in the server block
@user-in4sj3ri8j
@user-in4sj3ri8j Год назад
Четко! Ёклмн
@AntonPutra
@AntonPutra Год назад
spasibo)
@doganozgurmoroy9010
@doganozgurmoroy9010 Год назад
Umbeliveble...
@edwinvarghese
@edwinvarghese 2 года назад
Hey thanks for the tutorial. Followed the same steps. but after adding the ssl certificate, website went down. I tried restarting nginx, enabled firewall with https nginx 443. But its still down. Anyone else faced similar issue?
@AntonPutra
@AntonPutra 2 года назад
can you check if the nginx process is running? maybe you have errors, check the log
@edwinvarghese
@edwinvarghese 2 года назад
@@AntonPutra nginx is running. errors from error.log -> signal process started and info from access.log -> "GET / HTTP/1.1" 301 178 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) . I guess its trying to redirect the request to http. (website was up and running when it was in http (when no ssl was added)). Now ufw is disabled as well.
@edwinvarghese
@edwinvarghese 2 года назад
@@AntonPutra problem was that port 443 was not open in ec2 security group. Now its working. Again, many many thanks.
@Ramkumar-yd6eq
@Ramkumar-yd6eq Год назад
After installing it successfully,it is running but if i do docker-compose up it failing showing let'sencrypt not found.plz guide me to resolve this.
@moamab4541
@moamab4541 8 месяцев назад
I just want to ask if this is a localhost or not
@AntonPutra
@AntonPutra 7 месяцев назад
it is
@user-ss5yp7yr2x
@user-ss5yp7yr2x 11 месяцев назад
норм
@AntonPutra
@AntonPutra 11 месяцев назад
thanks lol
@LukeHwarang
@LukeHwarang 9 месяцев назад
What if I don't use port 80? Can I configure certbot with another port? (Ex: port 8022)?
@AntonPutra
@AntonPutra 9 месяцев назад
As far as I remember, you can pass the HTTP-01 challenge only by using the standard port 80. However, I think it's possible with the DNS-01 challenge.
Далее
Reverse proxy nginx letsencrypt tutorial
17:12
Просмотров 117 тыс.
Create Let's Encrypt SSL with Ubuntu
8:42
Просмотров 18 тыс.
Let's Encrypt Explained: Free SSL
15:04
Просмотров 123 тыс.
Full Node.js Deployment - NGINX, SSL With Lets Encrypt
23:48
Set Up a Basic Website! nginx, Certbot & secure login
18:38
Quick and Easy Local SSL Certificates for Your Homelab!
12:08