How to create self signed SSL certificate using OpenSSL

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 38

  • @jingtying
    @jingtying 2 роки тому +1

    Hi Krishna, thanks for your video. I followed your video, but my serial number is in hex form and I didn't get the srl file

  • @sunnyd9878
    @sunnyd9878 11 місяців тому

    Excellent thanks..helped to address cert renewal

  • @ashwinkm3156
    @ashwinkm3156 Рік тому

    could you give the link for the notepad file where you have written the commands

  • @king-ul-king
    @king-ul-king 2 роки тому

    Can we use it on localhost development mode in Ruby on Rails projects?

    • @KrishSanj
      @KrishSanj  2 роки тому

      It can be. But it depends on the keystore/certificate store are managed

  • @danielquiros0712
    @danielquiros0712 4 роки тому

    Hello man, great video
    I just have a question when i have to place the path of my private an public key I need the chain.pem how to I get that file?

    • @KrishSanj
      @KrishSanj  4 роки тому

      can you elaborate please

    • @christopherivan1790
      @christopherivan1790 Рік тому

      @@KrishSanj Do you have a video on how to use or trust a server cert on the client side? I know the server needs to actively trust the CA cert by adding it to its trust store, but after that, what comes next? Just add the CA Cert also to client-side trust store seems kind of obvious, but does some client cert need to be generated and provided to server?

  • @svddwd
    @svddwd 3 роки тому +1

    Nicely explained. thanks.

  • @miguelnavas7538
    @miguelnavas7538 2 роки тому

    Thanks for the video it helped me a lot.

  • @visionjain
    @visionjain 4 роки тому +1

    how to apply this on website?

    • @KrishSanj
      @KrishSanj  4 роки тому

      you should be domain admin

    • @KrishSanj
      @KrishSanj  4 роки тому

      domain manager like GoDaddy will have option

    • @KrishSanj
      @KrishSanj  3 роки тому

      check my new video

  • @noushadkhan6503
    @noushadkhan6503 2 роки тому

    Where I get 1s -1tr symbol (~ like state)

  • @n.n.ss.m.s2050
    @n.n.ss.m.s2050 3 роки тому

    can I apply this on Sip sys?

    • @KrishSanj
      @KrishSanj  3 роки тому +1

      I am not sure about the SIP sys. Self signed certificates are to test internal dev activity.

    • @n.n.ss.m.s2050
      @n.n.ss.m.s2050 3 роки тому

      @@KrishSanj sir ,plz how to decrypt sip over TLS v1.2 by Wireshark ? TLS CA created by openssl ..

  • @tarunarya1780
    @tarunarya1780 11 місяців тому +1

    Thanks for the video, had to watch a few and ask AI about the code. The below may help people that watch as I wasted a lot of time
    Waste a lot of time on badly documented ssl and missed out discussion of code by lots of videos.
    THIS video may help understanding of SSL. ua-cam.com/video/T4Df5_cojAs/v-deo.html
    XAMMP setup ua-cam.com/video/eqrDHkIFe8U/v-deo.html
    One set code:
    openssl req -new -nodes -out server_req_privatekey.csr
    openssl rsa -in privkey.pem -out server_priv_key.pem
    openssl x509 -in server_req_privatekey.csr -out server_signed.crt -req -signkey server_priv_key.pem -days 3650
    Other code:
    openssl req -x509 -nodes -newkey rsa:4096 -days 3650 -keyout ca-priv_key.pem -out ca_pub_key.pem
    openssl req -nodes -newkey rsa:4096 -days 3650 -keyout server_priv_key.pem -out server_pub_req.csr
    openssl x509 -req -in server_pub_req.csr -CA ca-pub_key.pem -CAkey ca-priv_key.pem -days 3650 -Cacreateserial -out server_signed_cert.crt
    Code 3:
    openssl genrsa -out server_priv_key.pem 4096
    openssl req -new -key server_priv_key.pem -sha256 -out server_req.csr
    openssl x5099 -req -days 350 -in server_req.csr -signkey server_priv_key.pem -sha256 -out server_signed.crt
    (modify 1st for passphrase openssl genrsa -des3 -out server_priv_key.pem 4096)
    Other videos watched:
    ua-cam.com/video/degTCVeAvLs/v-deo.html

  • @mysterious_minder
    @mysterious_minder 3 роки тому

    Sir how can I setup or give the ssl at my own website ??

    • @sohanmajumder118
      @sohanmajumder118 3 роки тому

      Sir pls tell

    • @KrishSanj
      @KrishSanj  2 роки тому

      what is the server? check my latest video on how to use it on Apache server

  • @trollingday7124
    @trollingday7124 2 роки тому

    dude or someone could put the steps in txt format?

    • @KrishSanj
      @KrishSanj  2 роки тому

      It suppose to be on my blog. i will check and update in few days

  • @gullitlevia787
    @gullitlevia787 Рік тому

    thanks for the video. However, I get this error. Can you please advise
    -----END ENCRYPTED PRIVATE KEY-----
    .
    Error: Invalid private key ...discarding.

  • @subuotp
    @subuotp 2 роки тому

    Hello Krishna, could you please share those commands...

    • @KrishSanj
      @KrishSanj  2 роки тому

      check my latest video on this topic. it has simplified stpes

    • @KrishSanj
      @KrishSanj  2 роки тому

      can you check this www.krishtalk.com/2022/06/how-to-self-signed-ssl-certificate-and.html

  • @ceeeskayaar2281
    @ceeeskayaar2281 3 роки тому +1

    Another half baked cake to elevate your confusion to next higher level... Keep it up youtube bakers to make money by google ads...

    • @KrishSanj
      @KrishSanj  3 роки тому +2

      appreciate your feedback. sorry that it did not help you. But I am doing this as a hobby and google Adsense was not my primary intention. You see when this channel was created, in 2006. since then I would have grown big, if my intention was only about AdSense.
      hope my other work helped you and others

  • @senalrasanga77
    @senalrasanga77 2 роки тому

    Thanks

  • @sandeepsandeeep5466
    @sandeepsandeeep5466 2 роки тому

    nm

  • @KrishSanj
    @KrishSanj  2 роки тому

    here is how to use self signed SSL in your website on Apache server
    ua-cam.com/video/mSt-7o2rhL0/v-deo.html

  • @whitetiger9946
    @whitetiger9946 4 роки тому

    👍😉

  • @pintail120
    @pintail120 3 роки тому

    you dont explain what operating system you are using and you do not explain what that software is either, therefore dislike

    • @KrishSanj
      @KrishSanj  3 роки тому +4

      Hi, Appreciate your feedback, But I have clearly said what tool I am using, and it should work on most of the Linux distro. Let me know if you still not getting it, need any info

    • @FabioMafu
      @FabioMafu 8 місяців тому

      @@KrishSanj Works on windows aswell