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!
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.
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....
Updating to the latest stable version doesn't seem to be something we can do in ubuntu server 24+. It errors with needing a libs1 dependency which seems insecure to download. However I'm able to install the legacy version of nginx without an issue.
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?
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.
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
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 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.
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
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
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
This is by far the most complete example I've found on this subject, thanks for sharing
Welcome!
Perfect tutorial! Installed on my instance along with the video, now my site is encrypted! You are just awesome Anton. Love from Sri Lanka
Welcome!
THANKK YOUUUUUU I LOVE YOU I TOOK 16 HOURS WATCHING USELESS TUTORIALS USING OUTDATED NGINX THAT NEVER WORKED BUT YOURS WAS AMAZING THANK YOU
Thanks Cronerstat!
been scratching my head at this for days can't believe its that simple, thanks Anton!
thanks
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!
Thanks!
Hello i think am having this issue , can you tell me how to resolve it. Thanks in advance
God Tier Video! Teaches wayy more than in the title! SUperb in best practices!
Thanks!
Best explanation straight to the point, thanks!
thank you!
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.
Thanks for the video, exactly what was I looking for. Short and detailed 👍👍👍
Thanks for video. in other tutorials no one told about include sites-enabled to nginx.conf
You're welcome!
Thank you................
You made my day. perfect to the point. just follow along and it will work.
My pleasure
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
Thank you!
Great video!, exactly what I was looking for. Thank you!
Thanks Eddie!
TTL measures not in seconds
it is the maximum number of redirects that can occur while your packets go from server to your computer
thanks for the feedback, but I don't remember where in the video I used that phrase =)
You are my hero bro! you saved my day. Thanks for the amazing content
Thanks Sergi!
Бро, красава лучший! Просто тигррр! Всё четко и понятно, еще и ссылку на команды оставил просто легенда!
spasibo )
⏱️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
Really well explained thanks bunches!
Thanks Ryan!
excellent detailed tutorial, thanks!👍
Welcome!
amazing video, thank you for this!
My pleasure!
Thank You very much!!
thanks for sharing this
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....
Thanks, no you can't use certbot for private domains. You need to create your own CA and issue certificates for your domains.
Perfect Video. Thanks 🙌🙌
You're welcome!
Great tutorial. Thank you!
You're very welcome!
big thank men , god bless youu
Updating to the latest stable version doesn't seem to be something we can do in ubuntu server 24+. It errors with needing a libs1 dependency which seems insecure to download. However I'm able to install the legacy version of nginx without an issue.
ok noted!
Really nice job thanks!
helped me a lot, thank you!!
Glad to hear that!
Thank you. This video helped me.
Thanks Nikhil!
Waiting for customer support slack app with node.js 🤗👍
Someday😊
Hi Anton, if possible please try to use certbot to install certificate on a private ec2 instance where nginx is installed
private means no internet access or you have NAT?
@@AntonPutra using alb , iam doing installation of nginx into private ec2.for that I need ssl
No infrastructure as a code ? :) Thank you for great work!
Thanks, I hope by Thursday I'll make one, EKS + Secrets Manager :)
Amazing explanation
thank you!
👉 How to Manage Secrets in Terraform - ruclips.net/video/3N0tGKwvBdA/видео.html
👉 Terraform Tips & Tricks - ruclips.net/video/7S94oUTy2z4/видео.html
👉 ArgoCD Tutorial - ruclips.net/video/zGndgdGa1Tc/видео.html
Great - Thank you for sharing.
You're welcome :)
Great video and explanation, thanks
Thanks Hasan!
It helped me a lot thank you !
Really thank you for this video
welcome!
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?
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".
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.
try to instal the latest nginx package that is available without setting the version
Really helped me!!
Really helpful, thank you so much!
Thanks Mandeep!
THANK YOUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU❤❤❤❤
welcome :)
Great video!
many thanks!
Welcome!
served my day
Thanks
Thank you!
great tutorial.
Thank you!
❤❤❤❤🔥🔥
❤️
Thank u, братик)
welcome :)
thank you!
You're welcome!
Great
Thanks
How to connect nodejs app running on port 3000 & 3001 to subdomain api & hello respectively ?
you can forward to any backend service and any port, you can declare it in nginx conf
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"
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
Cool, btw are u from indonesia?
nope, but i hear that a lot =)
good!
thanks!
What if I don't use port 80? Can I configure certbot with another port? (Ex: port 8022)?
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.
Hi, I need make backup something, to make a install new ?
you can clone your existing nginx config for selected endpoint just in case if you want to restore
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?
can you check if the nginx process is running? maybe you have errors, check the log
@@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.
@@AntonPutra problem was that port 443 was not open in ec2 security group. Now its working. Again, many many thanks.
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.
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
Google domains is public host provider, but you still need to register your domain with someone on the internet. It cannot be free
Seems you have very good knowledge with Linux command. Have you make a tutorial about it? Thanks@@AntonPutra
thanks a lot
welcome!
still great help today, thank you
welcome
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
1. Press Esc
2. Type :x
3. Press Enter
or you can use nano text editor, it maybe easier
@@AntonPutra do you have discord? i need some help
@@treshongriffin4161 I do - discord.gg/Wy5SPDSTjX
you can describe the problem, I'll take a look later tonight
I just want to ask if this is a localhost or not
it is
Umbeliveble...
Does it enable HSTS?
well, it does create redirect from 80 to 443, i don't remember about the header part. You can check in the server block
Четко! Ёклмн
spasibo)
норм
thanks lol
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
looks like the server is not running. Check with "nc -vz " for example "nc -vz google.com 80"
Great tutorial!! Thank you
Thanks!