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

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

ความคิดเห็น • 113

  • @AntonPutra
    @AntonPutra  ปีที่แล้ว

    🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com

  • @AntonPutra
    @AntonPutra  3 ปีที่แล้ว +1

    Get & Auto-renew Letsencrypt Wildcard Certificate - th-cam.com/video/81TKQIl1rCU/w-d-xo.html

  • @i.am.rossalex
    @i.am.rossalex 3 ปีที่แล้ว +1

    Перфекто! Грасиас!

  • @AntonPutra
    @AntonPutra  ปีที่แล้ว

    👉 How to Manage Secrets in Terraform - th-cam.com/video/3N0tGKwvBdA/w-d-xo.html
    👉 Terraform Tips & Tricks - th-cam.com/video/7S94oUTy2z4/w-d-xo.html
    👉 ArgoCD Tutorial - th-cam.com/video/zGndgdGa1Tc/w-d-xo.html

  • @ДмитрийГерман-ю3ы
    @ДмитрийГерман-ю3ы 3 ปีที่แล้ว +2

    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.

  • @bangjago283
    @bangjago283 3 ปีที่แล้ว +1

    Thankyou...
    BTW your name like Indonesian name :-)

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว

      Thank you, keep getting this a lot :)

  • @AntonPutra
    @AntonPutra  3 ปีที่แล้ว +3

    🔴NEW/UPDATED🔴 How to Get Letsencrypt Wildcard Certificate (Using Letsencrypt Nginx DNS Challenge) - th-cam.com/video/VJPfdXN-dSc/w-d-xo.html

    • @Fayaz-Rehman
      @Fayaz-Rehman 3 ปีที่แล้ว +1

      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 - th-cam.com/video/R5d-hN9UtpU/w-d-xo.html

    • @Fayaz-Rehman
      @Fayaz-Rehman 3 ปีที่แล้ว +1

      @@AntonPutra Thanks

  • @tayyabrafique2671
    @tayyabrafique2671 3 ปีที่แล้ว +2

    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 - th-cam.com/video/_jEgzqyUWKE/w-d-xo.html

  • @mohamedmahdy6739
    @mohamedmahdy6739 ปีที่แล้ว +1

    Thanks! It was very helpful for me

  • @webdev8659
    @webdev8659 ปีที่แล้ว +1

    BIG THANX!
    Very helpful!

  • @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.

  • @lakshaynz
    @lakshaynz 2 ปีที่แล้ว +2

    Thank you man you saved my life - really helpful video

  • @joegeorge7577
    @joegeorge7577 2 ปีที่แล้ว +1

    Thank you. Useful video

  • @willl0014
    @willl0014 2 ปีที่แล้ว +2

    Thank you very thorough explanation. Really good!

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว

      You're very welcome!

  • @strategischen
    @strategischen 3 ปีที่แล้ว +2

    Great video, but I'm lost on the automatic renewals, would be great if you create a follow up video.

  • @essteeell
    @essteeell ปีที่แล้ว +1

    Great video, thanks!

  • @ShadowS_WoW
    @ShadowS_WoW 2 ปีที่แล้ว +1

    Вялікі Вам дзякуй! Усё вельмі проста і зразумела!

  • @khoninvyacheslav3183
    @khoninvyacheslav3183 7 หลายเดือนก่อน

    Thank you so much, this is really helpful.

  • @Oswee
    @Oswee 3 ปีที่แล้ว +1

    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  3 ปีที่แล้ว

      Thank you for pointing this out.

  • @rhb.digital
    @rhb.digital 2 ปีที่แล้ว +1

    Thanks man !

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว

      You're welcome Jørgen :)

  • @ipyzpolonez
    @ipyzpolonez 2 ปีที่แล้ว +1

    Thanks! It was very helpful for me

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว +1

      Glad to hear that!

  • @MrStefanica
    @MrStefanica 2 ปีที่แล้ว +2

    Very Cool tutorial !

  • @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

  • @hungnguyencanh5089
    @hungnguyencanh5089 ปีที่แล้ว +1

    Worked like a charm, thank you so much!

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว +1

      You're welcome Hưng!

  • @oshari22
    @oshari22 2 ปีที่แล้ว +1

    Thanks
    it is an awesome tutorial

  • @orewriter
    @orewriter 2 ปีที่แล้ว

    terima kasih

  • @MuhammadUsman-yg4iq
    @MuhammadUsman-yg4iq 3 ปีที่แล้ว +1

    Great video, literally straight forward, Thanks.

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว

      Glad you liked it!

  • @RafaelAmbrosio
    @RafaelAmbrosio 3 ปีที่แล้ว +1

    You saved me! Thanks!
    +1 Subscription :)

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว +1

      Thank you Rafael!

    • @RafaelAmbrosio
      @RafaelAmbrosio 3 ปีที่แล้ว

      @@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  3 ปีที่แล้ว +1

      @@RafaelAmbrosio I can try to help, but only later tonight. Meanwhile, if you find the solution pls let me know.

    • @RafaelAmbrosio
      @RafaelAmbrosio 3 ปีที่แล้ว

      @@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 ปีที่แล้ว +1

    Thank you a lot! U Saved my day!

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว

      You're welcome😊

  • @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.

  • @salexkorsan8790
    @salexkorsan8790 3 ปีที่แล้ว +1

    it will be works on apace2 or not ??

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว +1

      There is a certbot apache plugin, but I have not tried it myself
      certbot.eff.org/all-instructions

    • @salexkorsan8790
      @salexkorsan8790 3 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +2

      ​@@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.

  • @ralphd4942
    @ralphd4942 2 ปีที่แล้ว

    Hi how do i install this cert on apache?

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว

      You can follow this - certbot.eff.org/lets-encrypt/ubuntufocal-apache

  • @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 ปีที่แล้ว +1

      @@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 :)

  • @bryonmiller6311
    @bryonmiller6311 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      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 - th-cam.com/video/7jEzioFsyNo/w-d-xo.html

  • @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?

  • @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 TH-cam it will be available on Monday.

    • @Fayaz-Rehman
      @Fayaz-Rehman 3 ปีที่แล้ว +1

      @@AntonPutra Thank you again - much appreciated.

  • @itsalat1
    @itsalat1 3 ปีที่แล้ว +1

    awesome !!! like

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว

      Thank you! Cheers!

  • @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

  • @andresbr92
    @andresbr92 3 ปีที่แล้ว +1

    Nice video!

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว

      Thank you Andrés!

  • @SaurabhBhosale_dotcom
    @SaurabhBhosale_dotcom 2 ปีที่แล้ว

    THaNKS ALOT ... THIS ALONE VIDEO IS A LIFE SAVIOUR. THANKS ANTON

  • @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

  • @sairfan06
    @sairfan06 2 ปีที่แล้ว

    Can we create certificate for IIS?

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว

      What is IIS?

    • @sairfan06
      @sairfan06 2 ปีที่แล้ว

      @@AntonPutra its windows based web server

  • @jhgfjfk
    @jhgfjfk 2 ปีที่แล้ว

    Thank you

  • @wduandy
    @wduandy 3 ปีที่แล้ว +2

    This was perfect!

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว

      Thank you:)

    • @wduandy
      @wduandy 3 ปีที่แล้ว

      @@AntonPutra Do you have discord channel?

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว +1

      ​@@wduandy I don't have it. Do you think I should sign up?

    • @wduandy
      @wduandy 3 ปีที่แล้ว +1

      @@AntonPutra Of course!! Your channel has a HUGE potential! You should invest on the audience 🤗

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว

      @@wduandy will do))

  • @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 ปีที่แล้ว +1

      @@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 .

  • @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 - th-cam.com/video/81TKQIl1rCU/w-d-xo.html