How to create self signed SSL certificate using OpenSSL

Ғылым және технология

For any website or to communicate between 2 applications, an SSL certificate is key thing. Google recommends that every web site should have enabled HTTPS. This requires an SSL certificate. For production environment, you need to get an SSL certificate from a trusted CA authority.
For testing purposes, you can create your own self-signed SSL certificate.
Follow the video to learn how to create a self-signed SSL certificate
Subscribe to my channel:
kzread.info...
KZread Channel: / krishnayess
My Blog: krishtalk.com
Google Plus: plus.google.com/+KrishSanj/
Twitter @iTwittt
/ itwittt

Пікірлер: 38

  • @ashwinkm3156
    @ashwinkm3156 Жыл бұрын

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

  • @jingtying
    @jingtying Жыл бұрын

    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

  • @svddwd
    @svddwd2 жыл бұрын

    Nicely explained. thanks.

  • @miguelnavas7538
    @miguelnavas7538 Жыл бұрын

    Thanks for the video it helped me a lot.

  • @sunnyd9878
    @sunnyd98785 ай бұрын

    Excellent thanks..helped to address cert renewal

  • @king-ulking
    @king-ulking Жыл бұрын

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

  • @KrishSanj

    @KrishSanj

    Жыл бұрын

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

  • @danielquiros0712
    @danielquiros07123 жыл бұрын

    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

    3 жыл бұрын

    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?

  • @noushadkhan6503
    @noushadkhan65032 жыл бұрын

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

  • @KrishSanj

    @KrishSanj

    2 жыл бұрын

    did not get

  • @gullitlevia787
    @gullitlevia787 Жыл бұрын

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

  • @mysterious_minder
    @mysterious_minder3 жыл бұрын

    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

  • @senalrasanga77
    @senalrasanga772 жыл бұрын

    Thanks

  • @trollingday7124
    @trollingday71242 жыл бұрын

    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

  • @n.n.ss.m.s2050
    @n.n.ss.m.s20502 жыл бұрын

    can I apply this on Sip sys?

  • @KrishSanj

    @KrishSanj

    2 жыл бұрын

    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

    2 жыл бұрын

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

  • @visionjain
    @visionjain3 жыл бұрын

    how to apply this on website?

  • @KrishSanj

    @KrishSanj

    3 жыл бұрын

    you should be domain admin

  • @KrishSanj

    @KrishSanj

    3 жыл бұрын

    domain manager like GoDaddy will have option

  • @KrishSanj

    @KrishSanj

    3 жыл бұрын

    check my new video

  • @whitetiger9946
    @whitetiger99463 жыл бұрын

    👍😉

  • @sandeepsandeeep5466
    @sandeepsandeeep54662 жыл бұрын

    nm

  • @tarunarya1780
    @tarunarya17805 ай бұрын

    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. kzread.info/dash/bejne/hmh4yJeYk9LQcdY.html XAMMP setup kzread.info/dash/bejne/l6WmpqqkeanLaLg.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: kzread.info/dash/bejne/lpmbtqWPlaTcfNY.html

  • @subuotp
    @subuotp Жыл бұрын

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

  • @KrishSanj

    @KrishSanj

    Жыл бұрын

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

  • @KrishSanj

    @KrishSanj

    Жыл бұрын

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

  • @KrishSanj
    @KrishSanj2 жыл бұрын

    here is how to use self signed SSL in your website on Apache server kzread.info/dash/bejne/n4eoj5moYtXOfJM.html

  • @ceeeskayaar2281
    @ceeeskayaar22812 жыл бұрын

    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

    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

  • @pintail120
    @pintail1203 жыл бұрын

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

  • @KrishSanj

    @KrishSanj

    3 жыл бұрын

    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

    2 ай бұрын

    @@KrishSanj Works on windows aswell

Келесі