How to Get Letsencrypt Wildcard Certificate (Using Letsencrypt Nginx DNS Challenge)

  Рет қаралды 26,758

Anton Putra

Anton Putra

Күн бұрын

Пікірлер: 113
@AntonPutra
@AntonPutra Жыл бұрын
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@AntonPutra
@AntonPutra Жыл бұрын
👉 How to Manage Secrets in Terraform - kzbin.info/www/bejne/aX-TpXqBrNt1mqM 👉 Terraform Tips & Tricks - kzbin.info/www/bejne/bYScZaKLid5lsJY 👉 ArgoCD Tutorial - kzbin.info/www/bejne/sHjRlZqafMZkisU
@AntonPutra
@AntonPutra 3 жыл бұрын
🔴NEW/UPDATED🔴 How to Get Letsencrypt Wildcard Certificate (Using Letsencrypt Nginx DNS Challenge) - kzbin.info/www/bejne/jHuzl5eOg5KXicU
@Fayaz-Rehman
@Fayaz-Rehman 3 жыл бұрын
The link says - video is unavailable - This video is private. Could you make this video public - Thanks
@AntonPutra
@AntonPutra 3 жыл бұрын
@@Fayaz-Rehman It will be availabe on Monday, here is a first part - kzbin.info/www/bejne/iGbHXpuEbrqnprc
@Fayaz-Rehman
@Fayaz-Rehman 3 жыл бұрын
@@AntonPutra Thanks
@hungnguyencanh5089
@hungnguyencanh5089 2 жыл бұрын
Worked like a charm, thank you so much!
@AntonPutra
@AntonPutra 2 жыл бұрын
You're welcome Hưng!
@MrStefanica
@MrStefanica 3 жыл бұрын
Very Cool tutorial !
@AntonPutra
@AntonPutra 3 жыл бұрын
Thanks! :)
@essteeell
@essteeell 2 жыл бұрын
Great video, thanks!
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks Sean!
@lakshaynz
@lakshaynz 2 жыл бұрын
Thank you man you saved my life - really helpful video
@AntonPutra
@AntonPutra 2 жыл бұрын
Welcome
@ShadowS_WoW
@ShadowS_WoW 2 жыл бұрын
Вялікі Вам дзякуй! Усё вельмі проста і зразумела!
@SaurabhBhosale_dotcom
@SaurabhBhosale_dotcom 2 жыл бұрын
THaNKS ALOT ... THIS ALONE VIDEO IS A LIFE SAVIOUR. THANKS ANTON
@AntonPutra
@AntonPutra 2 жыл бұрын
Thank you!
@webdev8659
@webdev8659 Жыл бұрын
BIG THANX! Very helpful!
@AntonPutra
@AntonPutra Жыл бұрын
Thanks!
@willl0014
@willl0014 3 жыл бұрын
Thank you very thorough explanation. Really good!
@AntonPutra
@AntonPutra 3 жыл бұрын
You're very welcome!
@joegeorge7577
@joegeorge7577 2 жыл бұрын
Thank you. Useful video
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks!
@strategischen
@strategischen 3 жыл бұрын
Great video, but I'm lost on the automatic renewals, would be great if you create a follow up video.
@AntonPutra
@AntonPutra 3 жыл бұрын
Coming soon!
@MuhammadUsman-yg4iq
@MuhammadUsman-yg4iq 3 жыл бұрын
Great video, literally straight forward, Thanks.
@AntonPutra
@AntonPutra 3 жыл бұрын
Glad you liked it!
@Oswee
@Oswee 4 жыл бұрын
You can't renew dns challenge certs that simple as you say there. Either you should use --manual-auth-hook and some scripts either you should update/add new txt records manually. Or use something like terraform to automate this if you use cloudflare's dns. Certbot renew is non-interactive.
@AntonPutra
@AntonPutra 4 жыл бұрын
Thank you for pointing this out.
@ipyzpolonez
@ipyzpolonez 3 жыл бұрын
Thanks! It was very helpful for me
@AntonPutra
@AntonPutra 3 жыл бұрын
Glad to hear that!
@rhb.digital
@rhb.digital 3 жыл бұрын
Thanks man !
@AntonPutra
@AntonPutra 3 жыл бұрын
You're welcome Jørgen :)
@khoninvyacheslav3183
@khoninvyacheslav3183 10 ай бұрын
Thank you so much, this is really helpful.
@wduandy
@wduandy 4 жыл бұрын
This was perfect!
@AntonPutra
@AntonPutra 4 жыл бұрын
Thank you:)
@wduandy
@wduandy 4 жыл бұрын
@@AntonPutra Do you have discord channel?
@AntonPutra
@AntonPutra 4 жыл бұрын
​@@wduandy I don't have it. Do you think I should sign up?
@wduandy
@wduandy 4 жыл бұрын
@@AntonPutra Of course!! Your channel has a HUGE potential! You should invest on the audience 🤗
@AntonPutra
@AntonPutra 4 жыл бұрын
@@wduandy will do))
@RafaelAmbrosio
@RafaelAmbrosio 4 жыл бұрын
You saved me! Thanks! +1 Subscription :)
@AntonPutra
@AntonPutra 4 жыл бұрын
Thank you Rafael!
@RafaelAmbrosio
@RafaelAmbrosio 4 жыл бұрын
@@AntonPutra I'm trying now to renew automatically via cron job, but without success Running: certbot renew --break-my-certs --force-renewal --preferred-challenges dns Break my certs and force renewal only to test, I will remove those flags, but the command keeps returning me this: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.'). Skipping I will search about this error now. I appreciate If you know how to solve :)
@AntonPutra
@AntonPutra 4 жыл бұрын
@@RafaelAmbrosio I can try to help, but only later tonight. Meanwhile, if you find the solution pls let me know.
@RafaelAmbrosio
@RafaelAmbrosio 4 жыл бұрын
@@AntonPutra I think I did it I'm using cloudflare, so was needed to install dns-cloudflare plugin. This tutorial can help (it is in portuguese, but I'm brazilian, so It's ok for me :D ) -> mindnotes.sh/integrando-certbot-com-dns-da-cloudflare/ In my case was different because I'm using certbot on docker, So I pulled this image -> hub.docker.com/r/certbot/dns-cloudflare to replace the standard image I was usgin And then followed this tutorial to pass the right flags to command and create the cloudflare api key and cloudflare.ini -> certbot-dns-cloudflare.readthedocs.io/en/stable/ chmod 600 to ini file... So after creating the certificate following your tutorial, I was able to run renew command: certbot renew --preferred-challenges dns --dns-cloudflare --dns-cloudflare-credentials /etc/letsencrypt/dnscloudflare.ini And you can remove the _acme_challenge TXT that you created before, because the renew command uses your api key to enter on cloudflare dns zone, create temporary TXT entry and delete it automatically
@Warara11
@Warara11 3 жыл бұрын
Thank you a lot! U Saved my day!
@AntonPutra
@AntonPutra 3 жыл бұрын
You're welcome😊
@oshari22
@oshari22 2 жыл бұрын
Thanks it is an awesome tutorial
@AntonPutra
@AntonPutra 2 жыл бұрын
thanks :)
@bangjago283
@bangjago283 3 жыл бұрын
Thankyou... BTW your name like Indonesian name :-)
@AntonPutra
@AntonPutra 3 жыл бұрын
Thank you, keep getting this a lot :)
@shyamn7998
@shyamn7998 2 жыл бұрын
Very well explained. I have query for my 2 subdomain i have taken separate certificate. how to get wild card certificate for my domain. if already sud domain is encrypted.
@andresbr92
@andresbr92 4 жыл бұрын
Nice video!
@AntonPutra
@AntonPutra 4 жыл бұрын
Thank you Andrés!
@tayyabrafique2671
@tayyabrafique2671 3 жыл бұрын
Thanks, How can we obtain a Wildcard certificate in Kubernetes cluster?
@AntonPutra
@AntonPutra 3 жыл бұрын
You would need to use cert-manager and configure the issuer to talk to letsencrypt server. I have a video but not wildcard just yet - kzbin.info/www/bejne/lZuomK2nrrqKgac
@ДмитрийГерман-ю3ы
@ДмитрийГерман-ю3ы 3 жыл бұрын
Hi! I am able to create the certificate and all as shown in your tutorial. I am also able to view my website in https, however my subdomain is still not secured. I am using VestaCP, and i use the Let's Encrypt in there and it works fine. I just need to secure my subdomains. Any idea?
@AntonPutra
@AntonPutra 3 жыл бұрын
If you are using wildcard certificate, it should cover all your subdomains.
@AntonPutra
@AntonPutra 3 жыл бұрын
Get & Auto-renew Letsencrypt Wildcard Certificate - kzbin.info/www/bejne/bmK3fIR_oZalebc
@i.am.rossalex
@i.am.rossalex 3 жыл бұрын
Перфекто! Грасиас!
@itsalat1
@itsalat1 3 жыл бұрын
awesome !!! like
@AntonPutra
@AntonPutra 3 жыл бұрын
Thank you! Cheers!
@bryonmiller6311
@bryonmiller6311 3 жыл бұрын
Can you make a tutorial that explains how to get an SSL when your ISP is intentionally blocking port 80 and refuses to release it for you unless you spend a ton of money on a much slower "business" plan? I followed a tutorial on a Kemp Load Balancer and it has an SSL on it now, the validation method was "TXT", I have no idea how or why it worked because following tutorials like this for those of us that have no understanding of the fundamentals just know if we copy what we see on the screen everything should work, so if something doesn't work we have no idea what the hell is going on because our understanding from the get go was copying instructions, as opposed to knowing at all what those instructions actually mean.
@AntonPutra
@AntonPutra 3 жыл бұрын
There are two main methods to get a TLS certificate from letsencrypt. HTTP-01 challenge - cert-bot will create a URL endpoint on your web server with a special token provided by lets-encrypt. DNS-01 challenge, there you need to prove that you own your domain by setting a TXT record. It is a little bit harder to automate than HTTP-01. If your ISP blocks port 80, I would suggest you go with the DNS-01 challenge. You can take a look at this one - kzbin.info/www/bejne/bZuoq5yle9ishNE
@Jseee
@Jseee 3 жыл бұрын
How long should a TXT record take to get detected while doing it this way? Mine haven't propagated yet and it's been like 40 minutes. Do I just leave my terminal up, check on a DNS record checker and wait for it to show?
@AntonPutra
@AntonPutra 3 жыл бұрын
The general rule is 24 to 48 hours, but based on my experience, it never takes longer than few minutes. You can close the terminal, or I would suggest that you applied your changes to DNS.
@shyamn7998
@shyamn7998 2 жыл бұрын
I have already install the ssl certificate and want to take wild card certificate, tell the steps wtihout unistall overwrite the same.
@AntonPutra
@AntonPutra 2 жыл бұрын
you can manually remove it from ngnix spec
@itsalat1
@itsalat1 3 жыл бұрын
Hi @Anton After obtaining the certificate , I still have one issue , for each client visiting any subdomain, a warning message says (this connection is not private) any idea how to avoid this? I'm using Apache service
@AntonPutra
@AntonPutra 3 жыл бұрын
Can you verify in the browser that your certificate is valid and up to date?
@Strandnet
@Strandnet 3 жыл бұрын
Hi my dig -t txt _acme-challenge.exemple.net show server as 8.8.8.8#53(8.8.8.8) and not as your 192.168.1.1 what should I do?
@AntonPutra
@AntonPutra 3 жыл бұрын
Not sure if i follow, 8.8.8.8 is a Google dns server and 192.168.1.1 is a router ip
@dinaiswatching
@dinaiswatching 3 жыл бұрын
I've copied nginx config ipsis litteris but nginx isn't listening on port 443. All firewalls are ok. Any insight?
@AntonPutra
@AntonPutra 3 жыл бұрын
Do you have "listen 443" directive in server block? You also need to restart or reload nginx "systemctl restart nginx". Try to check if the port open from. the host as well with "nc -vz localhost 443"
@dinaiswatching
@dinaiswatching 3 жыл бұрын
@@AntonPutra thanks for your prompt response, Anton. Actually I was forgetting to syslink configuration from available-sites to enabled-sites. Nice content, btw. Thanks for your tutorials.
@AntonPutra
@AntonPutra 3 жыл бұрын
@@dinaiswatching Thanks :)
@OurCloudSchool-Hindi
@OurCloudSchool-Hindi 3 жыл бұрын
How to generate let’s encrypt cert and store it in key vault?
@AntonPutra
@AntonPutra 3 жыл бұрын
Thank you for the question, tutorials for vault is in my pipeline
@Fayaz-Rehman
@Fayaz-Rehman 3 жыл бұрын
Great - Is it possible to install certbot on HAproxy ???
@AntonPutra
@AntonPutra 3 жыл бұрын
Sure here is the official tutorial - certbot.eff.org/lets-encrypt/ubuntufocal-haproxy. The video is processing by KZbin it will be available on Monday.
@Fayaz-Rehman
@Fayaz-Rehman 3 жыл бұрын
@@AntonPutra Thank you again - much appreciated.
@salexkorsan8790
@salexkorsan8790 3 жыл бұрын
it will be works on apace2 or not ??
@AntonPutra
@AntonPutra 3 жыл бұрын
There is a certbot apache plugin, but I have not tried it myself certbot.eff.org/all-instructions
@salexkorsan8790
@salexkorsan8790 3 жыл бұрын
@@AntonPutra thankss broo I'm tired using shared hosting, 100% ram using, server crashing multiple times and don't have money for vps and wildcard ssl, so i decided self Hosting. Hope it's good idea.
@AntonPutra
@AntonPutra 3 жыл бұрын
@@salexkorsan8790 It's a pretty hot topic, I will definitely explore and create tutorial for apache wildcard cert, but it's going to be in couple weeks only..
@salexkorsan8790
@salexkorsan8790 3 жыл бұрын
@@AntonPutra broo tell me one thing , I'm installed this certificate in cpanel, subdomain ssl not works with www , it's working only without www on subdomain what do i do ?? Any solution ?
@AntonPutra
@AntonPutra 3 жыл бұрын
​@@salexkorsan8790 well, probably you don't need a wildcard cert at all. When you request your certificate you need to make sure that you specify both domains including www subdomain. You should use "Subject Alternative Name" field.
@ppeeppee5800
@ppeeppee5800 3 жыл бұрын
What does Dzintars remark mean for this solution?
@AntonPutra
@AntonPutra 3 жыл бұрын
Let me try to create a renewal script, and perhaps update it here or create a new video.
@ppeeppee5800
@ppeeppee5800 3 жыл бұрын
@@AntonPutra Hi Anton, Any news on the update script. My certs are expired and I cannot update them via the renew procedure. Thx, PPee
@AntonPutra
@AntonPutra 3 жыл бұрын
@@ppeeppee5800 there is a slightly different approach but may work for you - kzbin.info/www/bejne/bmK3fIR_oZalebc
@ralphd4942
@ralphd4942 3 жыл бұрын
Hi how do i install this cert on apache?
@AntonPutra
@AntonPutra 3 жыл бұрын
You can follow this - certbot.eff.org/lets-encrypt/ubuntufocal-apache
@MrRahul15937
@MrRahul15937 3 жыл бұрын
These wildcard SSLs do not work on mobile devices. Checked on android devices Please suggest solution.
@AntonPutra
@AntonPutra 3 жыл бұрын
Can you share the error?
@MrRahul15937
@MrRahul15937 3 жыл бұрын
yes, please check 2021/07/18 12:38:32 [crit] 799125#799125: *135 SSL_do_handshake() failed (SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking, client: 35.203.245.145, server: 0.0.0.0:443 This error is happening when I ma opening website through Android
@MrRahul15937
@MrRahul15937 3 жыл бұрын
A searched but could not find any solution to this really-simple-ssl.com/knowledge-base/ssl-working-desktop-not-mobile-android-devices/
@AntonPutra
@AntonPutra 3 жыл бұрын
@@MrRahul15937 I found only this one, client outdated, maybe your client does not support new ciphers on the server... stackoverflow.com/questions/65854933/nginx-ssl-error141cf06cssl-routinestls-parse-ctos-key-sharebad-key-share
@MrRahul15937
@MrRahul15937 3 жыл бұрын
Did you test any of your website on android phones? My device is less than a year old .
@sairfan06
@sairfan06 2 жыл бұрын
Can we create certificate for IIS?
@AntonPutra
@AntonPutra 2 жыл бұрын
What is IIS?
@sairfan06
@sairfan06 2 жыл бұрын
@@AntonPutra its windows based web server
@dmytro_vr
@dmytro_vr 2 жыл бұрын
Thank you
@AntonPutra
@AntonPutra 2 жыл бұрын
Welcome!
@orewriter
@orewriter 2 жыл бұрын
terima kasih
@mohamedmahdy6739
@mohamedmahdy6739 Жыл бұрын
Thanks! It was very helpful for me
@AntonPutra
@AntonPutra Жыл бұрын
my pleasure!
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
How Git Changed Programming Forever
9:13
JetBrains Academy
Рет қаралды 27 М.
TLS Handshake Explained - Computerphile
16:59
Computerphile
Рет қаралды 571 М.
Let's Encrypt Explained: Free SSL
15:04
That DevOps Guy
Рет қаралды 134 М.
Nginx vs Traefik Performance (Reverse Proxy)
13:18
Anton Putra
Рет қаралды 29 М.
HTTPS, SSL, TLS & Certificate Authority Explained
43:29
Laith Academy
Рет қаралды 148 М.
PostgreSQL vs Amazon RDS: Performance & Price
7:03
Anton Putra
Рет қаралды 13 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19