Installing HTTPS/SSL on Localhost

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

КОМЕНТАРІ • 60

  • @roblatour3511
    @roblatour3511 Рік тому +2

    Thanks for the video. At 3:10 you enter the command "openssl genrsa -aes256 -out server.key 2048" and are prompted for a pass phrase, I enter the same command but don't get prompted for a pass phrase?

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

    Thank you Justin for sharing these steps by steps with us!

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

    were it says common name in 5:48 instead of localhost can i specify my domain

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

    Hello, a query, because it could be that I don't have the "extra" folder inside conf, I don't have the httpd-ssl file

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

      hmm your ssl conf must be in a different location

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

    Very good and direct guide! Thank you

  • @roytoh2000
    @roytoh2000 9 місяців тому

    mine not working when start back apache services

  • @LeanStart.Africa
    @LeanStart.Africa 3 роки тому +3

    excellent tutorial. Thanks for sharing. I am using xampp and not sure where to add my certificate and private key before configuring xampp to use these. Any idea?

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

    Perfect Explanation

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

    Hello Sir, just wanna check... Now the slproweb is running v3, will there be any difference?

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

    Hey man, on my localhost it says the certificate is not valid

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

      it should be set to expire way in the future

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

    not found wam64 folder in windows folder

  • @adrianjohn8111
    @adrianjohn8111 Рік тому +1

    Thank you very much my good sir

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

    I have a LEMP server, do you have a video for that?

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

    Really appreciate your method.

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

    Can you make a video for "How to install ssl on a HFS server?"

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

    thank you from Brazil, by Israel silva

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

    In my openssl.cnf file there is no SSL certificate edit code does not exist. what to do

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

      Not sure if you are also on wamp but it should be there. Otherwise you could try adding the lines to your openssl.cnf file and see if that works.

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

    it wud be useful if you put a link to all those commands in the description

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

    #Justin Stolpe but i have a question when i went to renew my certificate in certmgr it said the certificate has no private key. cannot find object or property

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

      On a domain for ssl you need a .crt file and a .key file, sounds like you are missing the .key file. Check with the issuer, they should have the .key file.

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

      @@justinstolpe i am the issuer lol i did everything in your video i created a key and a crt and placed both in my wamps conf and made a key folder thats were i put both crt and key

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

      @@coolvibesreloaded7946 Oh lol thought you were talking about an actual domain. Not sure what is up cause it does work. Maybe double check the conf so it is pointing to the cert, or try regen, or just try starting from scratch again.

  • @yadusolparterre
    @yadusolparterre 3 роки тому +3

    You typed this command but you did not say what it does:
    openssl rsa -in private.key -out private.key
    What is the goal of this command?

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

      in the previous genrsa command, a PRIVATE KEY was created, however, it isn't an RSA PRIVATE KEY. Its just a private key.
      So the "rsa -in ... -out ..." command creates a RSA PRIVATE KEY.

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

    This is resourceful thanks

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

    the first 2 cmds work fine.. but the 3rd one (openssl req) shows an error "unrecognized flag day"
    I checked the command multiple times.. but it keeps giving error

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

      are you copying and pasting the command from somewhere? a quick google search I found the dashes might be messed up from copy/paste. Try typing out the entire command right in the command line. Otherwise google the error as I have not seen it before.

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

      ​@@justinstolpe i figured it out.. the command should have had "days" instead of "day".. it was not too clear from the video because we tend to copy the command as we watch the host typing, and not after the command produces results (which is why it wud be better if you provided a link to the list of commands in a text file).. although i figured out from another source, but it might be useful for your future viewers if you provide the commands in a file as well.

  • @Dipenparmar12
    @Dipenparmar12 2 роки тому +2

    Everything is good 👍, except visible screen fonts and explorer, it was difficult to see syntax and files name.
    By the way thanks for making this.

  • @stand8103
    @stand8103 Рік тому +1

    Hello Justin, good morning
    I took the liberty of putting subtitles in Portuguese in your video over https on localhost.
    This is the language we speak in Brazil.
    I don't have a youtube account.

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

    #Justin Stolpe Hi I'm just wondering when you put how many days till cert expires, I would like for the cert to expire 2023 for example so how many days would I put

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

      instead of thee just put day limit as you want. For example, if you put 365 it will expire after 1 year.

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

    How to add SSL to PHP built-in webserver? thanks for the tutorial.

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

      I am running a LAMP on Ubuntu linux. I just learned how to get my phone to attach to my local host over my wifi, using my Linux box's ip address, allowing me to more easily learn how to develope and test android apps that interact with web sites. I need to learn how to put an SSL certificate on my LAMP so I can work with https while I learn Android dev skills.

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

    Thanks for a great video instruction :-)

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

    yep thank you @Just Stolpe my https wasn't working as i missed a few things in http ssl conf file lol thanks dude

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

    hi #Justin i'm now running apache server could you possible do a video on how to do this on apache server please

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

    the link to downdload open
    ssl does not work

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

      Maybe the site was down? I am able to see the site slproweb.com/

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

    very usefull

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

    I am using xampp locally.

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

    OK, but why? Why does local development need ssl?

    • @justinstolpe
      @justinstolpe  3 роки тому +8

      Some APIs require redirect URIs to be https.

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

    Every single tutorial shows how to install SSL with openssl on local host... how about SSL from any other paid supplier (i use comodo) to make sure website (out in the open world) also works... nobody shows that and I am at my wits end... I know just enough to screw things up big time and not enough to make it work...

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

      Well its an tutorial for a localhost. SO no one is gonna use a paid ssl certificate for that.
      I dont know why someone would use a paid certificate at all, when you can just generate them for free

  • @minecraft-wz5fd
    @minecraft-wz5fd 3 роки тому

    ls is not a command in cmd right now you can use dir instead

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

      I had this same problem, but if you set something like cygwin/bin to the environment path variable, it will work

  • @urs_truly_rohit
    @urs_truly_rohit 4 роки тому +2

    Bro.. You can do this without wasting your time to download openssl.exe. If you type https and make an exception same thing happens. Just 5sec of typing https you took 10min for installing and vhost setup not an useful. Try to make a video by making localhost with secure lock not exceptional lock.

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

    _Wow..Now I know...

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

    ospanel.io check out

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

    Great video, but is too much for a beginner. I pass.