How to create a valid self signed SSL Certificate?

Поделиться
HTML-код
  • Опубликовано: 3 июн 2024
  • In this video, I will explain how to generate valid self-signed SSL certificates for your internal network. We will use an open-source tool, OpenSSL to create an SSL cert for my Proxmox Server, that is valid for my internal domain and my private IP address. #OpenSSL #TLS #HomeLab
    My GitHub Cheat-Sheets: github.com/christianlempa/che...
    Teleport-*: goteleport.com/thedigitallife
    Follow me:
    TWITTER: / christianlempa
    INSTAGRAM: / christianlempa
    DISCORD: / discord
    GITHUB: github.com/christianlempa
    PATREON: / christianlempa
    MY EQUIPMENT: kit.co/christianlempa
    Timestamps:
    00:00 - Introduction
    00:51 - Some TLS basics
    04:33 - What are valid SSL Certificates?
    07:45 - Why use Self Signed Certificates
    11:53 - Advertisement-*
    12:27 - Generate a Private CA
    16:31 - Generate and Sign an SSL Cert
    21:11 - Upload a Full chain Cert
    22:22 - Import Private CA in Windows
    ________________
    All links with "*" are affiliate links.

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

  • @charleseaster3518
    @charleseaster3518 4 месяца назад +2

    Hi Christian, I have been watching your videos for ages and with your help I have grown my little raspberry pi "home lab" out into 3 separate servers running more services than I have any business or need to run. I enjoyed this video and it was very informative. Thank you for all the help and wish me luck setting up my own CA.

  • @RayDeMoss
    @RayDeMoss 2 года назад +67

    Thank you very much. This was extremely useful. You took a very confusing and convoluted process and made it as easy to understand as possible. I was able to setup certs on several home servers that I've been trying to figure out for years. I really appreciate your time making this video. Very helpful.

  • @LordDemonos
    @LordDemonos 3 месяца назад +1

    I subscribed last week, mostly because I'm into Docker and you seem to cover it a lot. You've already proven to be quite useful with this tutorial, which I ran into completely by coincidence. Just wanted to say I really appreciate you, thanks!

  • @SomeGuyFromFlorida
    @SomeGuyFromFlorida Год назад +3

    Might be the most important video I've watched in 5 years, wow. Thanks SO much for this, very well done!

  • @RandomAlias1
    @RandomAlias1 Год назад +3

    Hands down, absolutely outstanding work. Thank you so much for this video. I absolutely loved it. You earned a sub!

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

    Thanks a million! I was following some other documented tutorials and none of them seem to explain what is important and what is not. I didn't have a DNS name so I had to rely on IP addresses. After spending 2 days of trying to setup SSL certificates, I finally found and followed your video and it just worked straight away!

  • @cyn1x
    @cyn1x 2 года назад +3

    You really know your stuff. So much information in 25 minutes!

  • @pedrobarone4786
    @pedrobarone4786 Месяц назад

    I've been trying this for weeks, and you managed to make me understand and actually learn something about certificates. Indeed, you are an excelent teacher! Thanks a lot

  • @kanylekrigeren
    @kanylekrigeren 2 года назад +3

    This was exactly what I needed to understand the cert-creation process. Thank you, and I have now subscribed to your channel :D

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

    Great video! You've corrected the topic in great detail. This will be my reference video on this topic. Keep producing video on these interesting topics. You've got a new subscriber

  • @peculiar6392
    @peculiar6392 Год назад +3

    Nice overview about CA's and how Windows trust certificates from websites. And well detailed explanation about the steps to generate a valid certificate. It really comes in handy to me right know, because I was dealing with some troubles to generate a certificate to a local system in my job. Thank you very much! Keep it up! 👏👏👏

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

    Thanks so much for this video. It really helped me a lot. For a long time I was having problems with other tutorials tying to configure this, and with your video I managed to get everything working really fast. Thanks again!

  • @fabiena1787
    @fabiena1787 Год назад +3

    Thank you so much. I had been annoyed by this for a long time. I appreciated very much your way of explaining things with just the level of details needed (at least in my case). I could follow the steps one after the other and it worked fine. I wrote down the process to repeat this in the future. Thank you so much again, from France.

  • @TinkerTech
    @TinkerTech 2 года назад

    just started to dip my toes into self signing so this is wonderful timing that you to made a fresh video about it.
    🤗

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

    Thanks Bro. This explanitation gave me the needed steps to finally learn the SSL certificate concept and creation. All of my internally hosted consols are now secure. It was even possible for me to adjust my certificate chain for a cisco wlc which I wanted to start using. Without your instructions, I couldn't have made this jump. Vielen Dank!

  • @photoshop-requests
    @photoshop-requests Год назад

    After a very long time struggling with it I finally got it working thanks to you! Thank you!

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

    Thanks for doing this. I watched it several times (and reviewed your very helpful 'Cheat-sheets' on git). I understand the process for setting up internal CA (with respective keys), as well as the signing request process. BUT, I'm still not sure how to go about creating certificates that have *wild-cards* for an IP range so that I can use more broadly in my home lab environment. I'll keep plugging away with some other how-to tutorials, and eventually I'll have the 'Eureka' moment and it'll all make sense. Nonetheless, your tutorial was very good and much appreciated. Cheers.

  • @PabloVillaronga
    @PabloVillaronga 2 года назад

    Excellent will use it today ! Thanks for documenting all process !

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

    Very good explanations. The part I was looking for was how to import the ca certificate into the client devices.

  • @pecasuy
    @pecasuy Год назад +5

    Thank you for your time and knowledge, an invaluable help, especially because you turned something complex into a simple one, thank you, it has helped me a lot

  • @AkamiChannel
    @AkamiChannel 2 года назад

    It is absolutely nuts how many subs you have now. Congrats man! I have been studying to get some certs lately so I'll see how it goes!

    • @christianlempa
      @christianlempa  2 года назад

      Thank you so much :D I still know when we're following each other since the very beginning of this channel ;)

  • @ronnyrrr
    @ronnyrrr 2 года назад

    love the videos pal - literally just finished watching several of your nginx proxy manager videos!

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

    hey Christian!
    You just got a new subscriber man!
    Explained it beautifully!

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

    Your video came just in time to save my day.
    Didn't know i could be a CA as well create a SSL certificate.
    Amazing

  • @MATIFUSKA
    @MATIFUSKA 9 месяцев назад +8

    thank you, just a note , the file extfile.cnf has to be encoded in utf-8 , you can convert it via visual studio code , otherwise an error will show up
    "x509: Error on line 1 of config file "extfile.cnf" 8C520000:error:07000065:configuration file routines:def_load_bio:missing equal sign:crypto\conf\conf_def.c:513:HERE--> ■sline 1"

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

      THANKS! You can also use Notepad++ at the "Encoding" tab and save.
      But powershell script would be the simplest i think :/

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

      Hello Matifuska, I am running into the same issue. Can you explain me how I encode it into utf-8? I used the Terminal of VS code, but how do I convert it into utf-8?

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

      Okay I found it, on the bottom right of the window is it. In my case it was in UTF-16 LE, the change to UTF-8 solved it. Thank very much!

    • @aopen130
      @aopen130 Месяц назад +1

      Thank you. I was tearing my hair out looking for that error in search engine but it didn't help at all. Also, I did all this on Windows and give this error, but i tried again in debian/linux and it works out okay.

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

    Hi Christian, thank you for that video, it is exactly what I was looking for, followed your steps and it works perfectly. You got one more subscriber.

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

    best explanation ever, thank you so much. for the first time, i actually understand ssl certs

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

    Thanks for making this video, great explanation of how it all works, reassuring to see all the reading of separate info I've been doing was in a simple video.

  • @user-xi7kc1my6c
    @user-xi7kc1my6c 4 месяца назад

    Wow ... amazing !!! ... your step by step is exactly what I need ... and it's working A1 ... thank's for your generosity :)

  • @VertegrezNox
    @VertegrezNox 2 года назад

    Thanks a ton! I have fond memories of adding SSL certificates to web 1.0 programs lol like deadAIM n such. Been really wanting to know more about its potential applications now adays. Appreciate the info. ~

  • @salkinxd
    @salkinxd 2 года назад

    I had so many issues before trying to get SSL working on my VMware ESXI Server. Now I just used all the steps in this video and replaced the .csr file with the "Generate FQDN signing request" text (copied and put in a text file) that you can generate in ESXI. It instantly worked.
    Before this Video I "broke" my server so I couldn't access it from the webinterface anymore (had to plug in Monitor & Keyboard to find out that the SSL Certificate was invalid so the webserver didn't start).
    Thanks for making it this easy to follow👍

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

    Great video Christian! Thank you very much for sharing it with us!💖👍😎JP

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

    I autommatically press like when i see your videos. Awesome guy!!!!🙂🙂🙂🙂

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

    Very great video! This was exactly what I've been looking for days and days. Very helpful. Thx! Keep it up

  • @albertoleo9529
    @albertoleo9529 2 года назад +2

    Always great content!
    Re-watch it?? Not only, study it!!
    Absolutely interesting and useful.
    Thank you and keep on with this excellent content

  • @MatthewOberlander
    @MatthewOberlander 2 года назад +1

    Very helpful, helped filled in some knowledge gaps in private CA's.

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

    This was exactly what I was looking for.
    Helped a Ton!
    Thanks

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

    Thank you so much, very informative and has finally enabled me to get rid of the annoying warning message when logging into my nas. Great job!

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

    Thank you so much. You just earned a subscriber here. Great content.

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

    Excellent video. Very informative. Good job.

  • @richardwilliams9042
    @richardwilliams9042 2 года назад

    Thank you, this is just what I was looking for! Very helpful, great video!

  • @aliounembodj-rj9uw
    @aliounembodj-rj9uw Год назад

    Really great, it's been a while since I was looking for this, i've implemented the same concept in Pfsense and made a web server to distribute the CA certificate to others devices

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

    I was searching to really solve this trusting issue puzzle for years by relying on Windows CA role and has been impossible. Endless gratitude to you !!!

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

    Thanks for the great explanation!

  • @Clemens.Gooooo
    @Clemens.Gooooo 10 месяцев назад

    Thanks for this video, your documentation is amazing, it makes it very easy to follow your instructions and I now understand what's happening...

  • @yes-ni1od
    @yes-ni1od 4 месяца назад

    Thank you for splitting the video into segments, I already knew the basics and could just skip ahead to relevant parts.

  • @sayenathn3664
    @sayenathn3664 2 года назад

    Loved the video! And yes, please do a deep dive video as well 😇

    • @christianlempa
      @christianlempa  2 года назад +1

      Thanks! :) Great idea, I like to do more videos about network protocols and security

  • @evkonoff
    @evkonoff 2 года назад

    That's exaclty what I did when decide to move all my home network to SSL couple of weeks ago, glad to see we are on the same wave :)

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

    Finally a video that explains this process thoroughly, thank you

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

    Excellent presentation and content! Bravo and thank you!!

  • @vivekwarjurkar6452
    @vivekwarjurkar6452 Месяц назад

    I don't have enough words to thank you !!!!! You saved a life here..

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

    You are awesome man! Very clean explanation

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

    Thank you for demystifying the concept! It helped a lot!

  • @Berkshire-Hathaway
    @Berkshire-Hathaway 2 года назад +1

    Thanks for your helpful videos!

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

    thank you so much! finally found a working solution at first attempt

  • @Facey1000
    @Facey1000 2 года назад

    Thanks for the helpful video as always! 👍👍

  • @elalemanpaisa
    @elalemanpaisa 13 дней назад

    No worries, Christian I am very deep into encryption and you explained it just fine and it was not over simplified from a high level it was on point.

    • @christianlempa
      @christianlempa  12 дней назад +1

      Thank you so much :)

    • @elalemanpaisa
      @elalemanpaisa 11 дней назад

      @@christianlempa thanks to you!! Entertaining content. My favourite YT Aleman ;-)

  • @aniketteredesai
    @aniketteredesai 2 года назад +1

    Thx for the fullchain tip. I had read about it in the Proxmox docs, but just the standalone cert worked for me :)

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

    Your video is fantastic!! Compliment

  • @reno.zed1
    @reno.zed1 6 месяцев назад

    Subscribed. I'm trying to keep my subscriptions list tidy, so take it as a massive compliment!

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

    Thanks Alot Father Christimas 😁😁

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

    Thank you VERY much for making this video

  • @LawrenceSingha
    @LawrenceSingha 2 года назад

    This excellent and great video … yes! finally what I needed 👍🏼

  • @AmirBakhtiari-pw3yh
    @AmirBakhtiari-pw3yh Месяц назад

    such a great work. thanks!

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

    This is really helpful. Thank you.

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

    Thank you, very helped for me

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

    Thank you very much. You helped me a lot.

  • @marcello4258
    @marcello4258 2 года назад

    In addition to this, if you are running Linux a self signed cert also helps you with signing your bootloader and enable secure boot properly ;) ..fun video always enjoy your passion with them!

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

    very useful video, thank you very much

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

    Thank you very much! You saved my day!

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

    I love you man, you saved me days

  • @Techtips200
    @Techtips200 2 года назад

    well done ... please bring more stuff on this...

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

    Excellent and detailed guide to resolve an issue as complicated as SSL.
    What would be different in the certificates if TLS 1.3 is used?

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

    thank you so much bro I was going around in circles until I got to this video

  • @Glatze603
    @Glatze603 2 года назад

    Hi Christian, endlich mal eine verständliche und funktionierende Anleitung, wie man selber Zertifikate für sein Homelab erstellen und einsetzen kann. Sehr gut, danke dir! Ich möchte an dieser Stelle auch noch einmal erwähnen, dass ich neben deinen Videoinhalten auch in besonderem Maße die Qualität deiner Videos (Sound, Bild, Schnitt, Lautstärke, Farben, Abstimmung, Präsentation, Darstellung, Stimmung etc.) zu schätzen weiß. Nach meinem Empfinden bildest du damit einen Standard, an den derzeit kaum jemand heran kommt. Weiter so. Uppps, jetzt habe ich doch instinktiv in deutsch geschrieben 🙂

    • @christianlempa
      @christianlempa  2 года назад +1

      Vielen Dank! Freut mich, dass dir die Videos so gut gefallen, da du einer meiner langjährigen Zuschauer bist :D

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

      @@christianlempa what ad blocker are you using? the new/blank web page shows 228,000 ads blocked and bandwidth saved. Thanks! and thanks for this video!!

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

    video was so good i had to smash like & subscribe

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

    It works! Thanks! 😄

  • @alexfrance3646
    @alexfrance3646 2 года назад

    Great video this. Thank you

  • @ninjalabs_
    @ninjalabs_ 2 года назад

    Ok but this is freaky. I was looking for a decent tutorial the whole of today and knew you mentioned it before but couldn't find it lol. At least I know where to look now

  • @marcot.7893
    @marcot.7893 2 года назад

    Danke für das Video, das hat unser Problem gelöst

    • @christianlempa
      @christianlempa  2 года назад

      Gerne! Freut mich dass es euch geholfen hat ;)

  • @ernst367
    @ernst367 2 года назад

    Come in handy! Thank you!

  • @teddybear9152
    @teddybear9152 2 года назад

    Finally the answer to the most headache of running a home lab!

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

    Thank You so much!

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

    Thank you so much 🙏🙏

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

    Thanks for taking the time to put together this video tutorial. I understand how to follow through the steps as you're doing them, but unfortunately I don't understand WHY I'm doing it at each step and what each step is doing for me, because there were too many words being spoken and it was confusing. One of the things I was not initially clear on, but now understand why is that I needed to add a linux distro in my lab environment to run openSSL. That's one more thing for me to have to manage! Also, where does it put the files it made? I can't find them. Forgive my rookie questions, first time I'm ever doing this. Very new to linux and to openSSL. Total NOOB here with certificates.

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

    You have touched on a lot of topics in an excellent narrative and really detailed. I really thank you for this. But there is something I want to ask. Does everyone in the "standard user" class who connects to our web page have to add to the trusted certificates you made in the last step here? That is, after we prepare the certificate, can it securely exit to the internet?
    Another issue is that we want to sign our software that we prepare in our company with code signing. Can rootCA be used for this? Can we sign our software using the certificate created with this method?
    Thank you very much.

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

    Just trying to mind my own business, watch this vid and learn some stuff when at 1:43...are those Bishop boulders/ Eastern Sierras I see??
    Way to win the 'like' smash before the lesson even starts! 🙂 Even if they aren't, great shot/pebbles nonetheless...alright, now time to learn!

  • @hooktest8101
    @hooktest8101 2 года назад

    thanks a lot for the amazing video

  • @primistandem6781
    @primistandem6781 2 года назад

    Thank you very much! I tried to do this and failed a couple of weeks ago. Gonna give it another try.

    • @christianlempa
      @christianlempa  2 года назад

      You're welcome! Hope it will work now :)

  • @michelangelop3923
    @michelangelop3923 2 года назад

    Very good video, for my local environment I use cerbot with cloudflare api to authorize the certificate creation locally without any ports open and then either pass everything through a local proxy or by installing the cerbot client and setting up the subdomain for the service if it's an important one like freeipa/teleport/other important service that I don't want to use a local proxy.

    • @christianlempa
      @christianlempa  2 года назад +1

      Thank you! :)

    • @YashPokharel
      @YashPokharel 2 года назад +1

      wow great, as I work for a small enterprise, I was looking something similar to it.

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

    thanks for the video. I didn't understand the last part, is the command executed on the machine from where I open the page or on the server?

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

    Very clear explanation video! I have subscribed. Just doesn't find the install guide for Macbook in the cheatsheet.

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

    Awesome work.

  • @KyleG384
    @KyleG384 2 года назад

    Great content!

  • @hreidarj
    @hreidarj 2 года назад

    Awesome video, are you using your private CA with Teleport? Does Teleport use it to sign the certificates it generates?

  • @SB-qm5wg
    @SB-qm5wg 16 дней назад +1

    Where can I find your notes from this video? I could not find it on your github. Great tutorial. Thank you.

  • @jhonatandariomarinjaramill9519

    Thank you very much

  •  Год назад +1

    Thank you very much you SIR!!! you are my go-to youtube channel for my IT carreer!
    Quick question: what terminal software you used in this video? the UI looks so clean. Thank you

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

      Windows PowerShell

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

    Thanks Very much

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

    Thanks a lot. What type of terminal are you using?