Server Certificates - Self Signed and LetsEncrypt Certificates for the LAN

Sdílet
Vložit
  • čas přidán 20. 05. 2024
  • How to use Certificates in the LAN? What are our options? We can use self-signed certificates, but we can also use public Let's Encrypt Certificates LOCALLY - in the LAN. In this video we will look at the options such as self-signed CA and Certificates, Let's Encrypt Server Certificates and Wildcard Certificates
    The XCA Tool can be obtained here: hohnstaedt.de/xca/
    More Info on my Cheat Sheet Repo here: github.com/onemarcfifty/cheat...
    0:00 LAN certificate options
    0:49 self-signed CA and Certs
    1:42 create a CA with XCA
    2:03 create a signed Server certificate
    3:07 exporting certificates and keys
    4:46 distributing the certificates
    7:11 how to use LetsEncrypt certificates in the LAN
    9:35 Letsencrypt Wildcard Certificates in the LAN
    CZcams: / onemarcfifty
    Twitter: / onemarcfifty
    Discord: / discord
    Github: github.com/onemarcfifty
    Patreon: / onemarcfifty
    Blog: www.onemarcfifty.com
  • Věda a technologie

Komentáře • 53

  • @BrianThomas
    @BrianThomas Před rokem +23

    This should have a ton more likes than it does. Not many on CZcams have ever explained it like this before. Great job!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Brian, that’s very kind - thank you very much

  • @daniellukesmith
    @daniellukesmith Před 26 dny

    His explanations are the best

  • @rsmonteiro82
    @rsmonteiro82 Před 2 měsíci

    Thanks Marc! The way you explain the thing is excellent!

  • @pallzoltan
    @pallzoltan Před 4 měsíci

    I love how well you explained everything. Thank you.

  • @affinitystablepeanuts
    @affinitystablepeanuts Před 8 měsíci

    Very nice and very clear explanation around letsencrypt. Thank you. Deserves a lot more likes.

  • @user-bq1xf8qj9u
    @user-bq1xf8qj9u Před 11 měsíci +1

    Very nicely explained. Thanks a lot for your efforts.

  • @alfonsofujita2592
    @alfonsofujita2592 Před měsícem

    Waoo. The first video that explains me how let’sencrypt ask DNS for verification.
    This video is for newest like me.
    Thanks

  • @Benemortasia666
    @Benemortasia666 Před 10 měsíci

    That application/database program I am using ever since, its awesome. Thank you.

  • @glitchy_weasel
    @glitchy_weasel Před rokem +5

    Let's Encrypt is a fantastic project! It definitely makes the internet more accessible and secure for hobbyists webmasters. Very good explanation by the way!

  • @Dylan001ification
    @Dylan001ification Před 5 měsíci

    Thank you very much for your great explanation.

  • @seanmagee7339
    @seanmagee7339 Před 4 měsíci

    Thank you. You explained that very well.

  • @yitspaerl7255
    @yitspaerl7255 Před rokem +1

    Very interesting. Especially using a free wildcard cert locally. Thanks a lot!

  • @AlexCernat
    @AlexCernat Před rokem +2

    congratulations for sharing info about certificate transparency program; many people are not aware about it, and some will have a big unpleasant surprise one day (hostnames disclosure, funny "test" dns names etc.)

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Alex, thank you very much - one could probably talk for hours about the impacts and side effects of certificates, TLS, trusts, chains and so on ;-) But when I read about the Cert Transparency, I thought - hmmm ... If you get a cert for host1, host2... then you probably have a host 3 ;-)

  • @pberto
    @pberto Před rokem +2

    I can only confirm my comment on part 1. Good job, Marc.

  • @samuraijaydee
    @samuraijaydee Před rokem +1

    Thank you for this Marc. This is a big help for me :)

  • @qamaranwar-ye8tp
    @qamaranwar-ye8tp Před 9 měsíci

    GREAT Video, GREAT to say the least

  • @rklauco
    @rklauco Před rokem +2

    I did not realize you can use the wildcard certs like this in LAN. Good idea...

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Robert, yeah - I discovered that when I tried to segregate my VLANs using a reverse proxy ;-)

  • @alexs5588
    @alexs5588 Před rokem +3

    Great video Marc, always extremely informative thank you!!! Would you ever consider revisiting the BATMAN protocol in depth? Such as with DSA architecture or APs with no built in switch?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +2

      Hi Alex, many thanks. I am currently working on an episode on how to build a router with the Raspberry Pi - with regards to the question how to do VLANs without a switch. But your question inspires me to maybe do a separate episode altogether, as there are mutiple ways of doing VLANs on devices with or without switches. I might talk about BATMAN in those as well. Thanks again.

  • @fabioamado6725
    @fabioamado6725 Před 10 měsíci

    Thank you very much for this video. Is it possible to run this XCA program in Docker Container? What would be the best option, in terms of security?

  • @alexander5052
    @alexander5052 Před 11 měsíci

    Great video!

  • @_r00f
    @_r00f Před rokem +2

    Thanx Marc! I personally found the best option to automate let's encrypt wildcard cers is to maintain your own dns servers. It allow you to make any number of subdomains with DNSSEC and all the stuff.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Sergey, that's definitely a good option.It does have side-effects though (such as opening access to port 53 and the like)

    • @_r00f
      @_r00f Před rokem +1

      @@OneMarcFifty I have 1 master and 2 slave dns. Master local, slaves on external servers. In the domain zone NS servers - only slaves. The master dns has port 53 open only for the ip addresses of the slave dns servers.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Oh that makes total sense - perfect, thanks for sharing!

    • @killer2600
      @killer2600 Před 2 měsíci

      @@_r00f I'd like to introduce you to cloudflare.

  • @BrunoCouleau
    @BrunoCouleau Před rokem +4

    Very nice and idiot proof explanation. Thank you.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Bruno, thank you very much for your feedback!

  • @oswaldomoraleshernandez4306
    @oswaldomoraleshernandez4306 Před 10 měsíci

    Thanks! 👍

  • @jogikuenstner7758
    @jogikuenstner7758 Před 3 měsíci

    Interesting, great content!
    I happen to use the same webspace-provide like you, but I have enabled 2FA with an authenticator-app.
    Do you see any chance then still to do automation?

  • @marvinma6887
    @marvinma6887 Před rokem +1

    very nice,thank you

  • @jedd1
    @jedd1 Před rokem +2

    Thanks!

  • @boubou40
    @boubou40 Před rokem +1

    Thank you for the video ! does the wildcard option allow me to use short names without a warning ? I'm using step-ca for my homelab to automatically provides certificates for my servers

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Vincent. No - you will still need FQDN with these.

  • @mohammeddawwas3822
    @mohammeddawwas3822 Před 6 měsíci

    do you have a video explains in details about wildcard certificate ?

  • @ATech-dg9lj
    @ATech-dg9lj Před 11 dny

    I agree with@BrianThomas - never seen anything like this before - well done sir.
    I wonder if you would be able to cover the X.509 certification in terms of STM32 Mbed RTOS terms of usage. I.e., would the xca tool be able to support the lwIP embedded server httpd deamon on STM32 processors. Also how can the x.509 certification be implemented on production runs of hundreds or thousands of boxes. Would every box require a seperate certificate etc. in case the vendor does not use a different private key for each product sold would the public key holders be able to hack other customers products. This is a very unclear area of discussion regarding this type of certification. Please give us your thoughts on this topic sir. Thanks

  • @der_imperator6907
    @der_imperator6907 Před rokem +1

    I'm really interested in your automation certbot script. How did you read the string for the txt record given by certbot?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +2

      If you check github.com/onemarcfifty/cheat-sheets/blob/main/Certificates/ansible-playbooks/auth_hook.py then you can see that the value comes from the environment variables CERTBOT_VALIDATION and CERTBOT_DOMAIN which are set by the certbot command.

  • @bongitkh
    @bongitkh Před 8 měsíci

    how could we include our RootCA into browser by default. meaning we don't have to manually import.

    • @killer2600
      @killer2600 Před 2 měsíci

      You'd have to become an industry trusted certificate authority. Considering a CA can issue certificates for any domain and browsers will consider them valid, trust isn't taken lightly or given easily. The average joe will never be given this level of trust by the industry as a whole.

  • @zaxeer
    @zaxeer Před měsícem

    So no way to get lets encrypt certificate for internal domain other than creating own CA?

  • @itsm3dud39
    @itsm3dud39 Před 6 měsíci

    can i share my x 509 .pem certificate to my teammate? what happens if .pem certificate is publicly exposed??