Server Certificates - Self Signed and LetsEncrypt Certificates for the LAN

Поделиться
HTML-код
  • Опубликовано: 3 авг 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
    RUclips: / onemarcfifty
    Twitter: / onemarcfifty
    Discord: / discord
    Github: github.com/onemarcfifty
    Patreon: / onemarcfifty
    Blog: www.onemarcfifty.com
  • НаукаНаука

Комментарии • 60

  • @BrianThomas
    @BrianThomas Год назад +27

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад +1

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

  • @graceoverall
    @graceoverall 7 дней назад

    12:25 Brilliant!!! I didn't know about transparency laws requiring the disclosure of private certs. For me, that's a deal breaker for my (future) homelab.

  • @justpassing6776
    @justpassing6776 18 дней назад

    well served solutions for everyone. Great job!

  • @alfonsofujita2592
    @alfonsofujita2592 4 месяца назад

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

  • @rsmonteiro82
    @rsmonteiro82 4 месяца назад

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

  • @glitchy_weasel
    @glitchy_weasel Год назад +4

    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!

  • @AlexCernat
    @AlexCernat Год назад +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  Год назад

      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 ;-)

  • @Benemortasia666
    @Benemortasia666 Год назад

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

  • @yitspaerl7255
    @yitspaerl7255 Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      Hi, many thanks for the feedback ;-)

  • @pallzoltan
    @pallzoltan 7 месяцев назад

    I love how well you explained everything. Thank you.

  • @pberto
    @pberto Год назад +2

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

  • @affinitystablepeanuts
    @affinitystablepeanuts 10 месяцев назад

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

  • @robertschultheis1769
    @robertschultheis1769 2 месяца назад

    Extremely helpful video series, thank you!

  • @user-bq1xf8qj9u
    @user-bq1xf8qj9u Год назад +1

    Very nicely explained. Thanks a lot for your efforts.

  • @rklauco
    @rklauco Год назад +2

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад +1

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

  • @daniellukesmith
    @daniellukesmith 3 месяца назад

    His explanations are the best

  • @Avopeas
    @Avopeas 7 месяцев назад

    Thank you very much for your great explanation.

  • @seanmagee7339
    @seanmagee7339 6 месяцев назад

    Thank you. You explained that very well.

  • @samuraijaydee
    @samuraijaydee Год назад +1

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

  • @qamaranwar-ye8tp
    @qamaranwar-ye8tp Год назад

    GREAT Video, GREAT to say the least

  • @BrunoCouleau
    @BrunoCouleau Год назад +4

    Very nice and idiot proof explanation. Thank you.

    • @OneMarcFifty
      @OneMarcFifty  Год назад +1

      Hi Bruno, thank you very much for your feedback!

  • @alexander5052
    @alexander5052 Год назад

    Great video!

  • @_r00f
    @_r00f Год назад +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  Год назад

      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 Год назад +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  Год назад

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

    • @killer2600
      @killer2600 5 месяцев назад

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

  • @marvinma6887
    @marvinma6887 Год назад +1

    very nice,thank you

  • @alexs5588
    @alexs5588 Год назад +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  Год назад +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.

  • @fef-e4k
    @fef-e4k 11 дней назад

    great video quality, great content, great tool and of course great explanation. I have downloaded the XCA software on my windows 10. I have a lil challenge: I am working with vs code and have accessed my server via it. I have also created my CA with XCA. the challenge i have now is copying my CA to the server just like you did. Any guide?

  • @oswaldomoraleshernandez4306
    @oswaldomoraleshernandez4306 Год назад

    Thanks! 👍

  • @jedd1
    @jedd1 Год назад +2

    Thanks!

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      You're welcome - thanks for he feedback!

  • @daxelai
    @daxelai 8 дней назад

    Excellent explanation.
    Actually I am using tomcat server on my LAN to deployed my application can same certificate I use to configure https in tomcat.

  • @boubou40
    @boubou40 Год назад +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  Год назад

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

  • @jogikuenstner7758
    @jogikuenstner7758 5 месяцев назад

    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?

  • @ATech-dg9lj
    @ATech-dg9lj 2 месяца назад

    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

  • @mohammeddawwas3822
    @mohammeddawwas3822 8 месяцев назад

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

  • @der_imperator6907
    @der_imperator6907 Год назад +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  Год назад +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.

  • @fabioamado6725
    @fabioamado6725 Год назад

    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?

    • @peterhaskew
      @peterhaskew 3 дня назад

      I have installed the XCA application locally, but host its database in a Docker container running MySQL instead of a local file. Does that help (a year later!)?

    • @fabioamado6725
      @fabioamado6725 3 дня назад

      @@peterhaskew Thank you for your answer. It always helps, at least for others. In the meantime, I went the route of using a reverse proxy (NGINX) signig the certificates via wild card certificate by Let's Encrypt. Is my option more or less secure than the one explained here? Thank you anyway :)

  • @zaxeer
    @zaxeer 4 месяца назад

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

  • @itsm3dud39
    @itsm3dud39 9 месяцев назад

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

  • @bongitkh
    @bongitkh 11 месяцев назад

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

    • @killer2600
      @killer2600 5 месяцев назад

      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.