Тёмный

Installing HTTPS/SSL on Localhost 

Justin Stolpe
Подписаться 4,9 тыс.
Просмотров 44 тыс.
50% 1

In this video we learn how to install an SSL cert on our local box so we have access to HTTPS on localhost.
--
Discord ⇝ / discord
TikTok ⇝ / justinstolpe
GitHub ⇝ github.com/jst...
Instagram ⇝ / justinstolpe
Twitter ⇝ / justin_stolpe
LinkedIn ⇝ / justin-stolpe-3bb05426
Reddit ⇝ / jstolpe
Twitch ⇝ / jstolpe
Facebook ⇝ / stolpejustin
Website ⇝ justinstolpe.com
SoundCloud ⇝ / justin-stolpe
--
#programming #developer #coding

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@beamixab
@beamixab 3 года назад
Thank you Justin for sharing these steps by steps with us!
@morten1
@morten1 Год назад
Very good and direct guide! Thank you
@adrianjohn8111
@adrianjohn8111 Год назад
Thank you very much my good sir
@eabrar
@eabrar 3 года назад
Really appreciate your method.
@mahawaqar8702
@mahawaqar8702 2 года назад
Perfect Explanation
@LeanStart.Africa
@LeanStart.Africa 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?
@dinahwobuyaga3890
@dinahwobuyaga3890 3 года назад
This is resourceful thanks
@Dipenparmar12
@Dipenparmar12 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.
@roblatour3511
@roblatour3511 Год назад
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?
@patrikiden
@patrikiden 3 года назад
Thanks for a great video instruction :-)
@ShishilKumar
@ShishilKumar 2 года назад
it wud be useful if you put a link to all those commands in the description
@Tiosilvah
@Tiosilvah 3 года назад
thank you from Brazil, by Israel silva
@indrabhattarai6120
@indrabhattarai6120 Год назад
Can you make a video for "How to install ssl on a HFS server?"
@coolvibesreloaded7946
@coolvibesreloaded7946 3 года назад
yep thank you @Just Stolpe my https wasn't working as i missed a few things in http ssl conf file lol thanks dude
@yadusolparterre
@yadusolparterre 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 года назад
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.
@stand8103
@stand8103 Год назад
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.
@anthonylee9230
@anthonylee9230 2 года назад
Hello Sir, just wanna check... Now the slproweb is running v3, will there be any difference?
@germanlaborda
@germanlaborda 2 года назад
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 2 года назад
hmm your ssl conf must be in a different location
@coolvibesreloaded7946
@coolvibesreloaded7946 3 года назад
were it says common name in 5:48 instead of localhost can i specify my domain
@alexhudobiak4319
@alexhudobiak4319 2 года назад
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
@roytoh2000
@roytoh2000 5 месяцев назад
mine not working when start back apache services
@balhallak
@balhallak 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.
@sgtusmcarch
@sgtusmcarch 10 месяцев назад
I have a LEMP server, do you have a video for that?
@justinstolpe
@justinstolpe 10 месяцев назад
sorry I don't have a video for that
@abbasali313
@abbasali313 2 года назад
not found wam64 folder in windows folder
@jaytran594
@jaytran594 3 года назад
very usefull
@justinstolpe
@justinstolpe 3 года назад
thanks!
@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.
@ssdazed6229
@ssdazed6229 3 года назад
I am using xampp locally.
@ShishilKumar
@ShishilKumar 2 года назад
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 2 года назад
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 2 года назад
​@@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.
@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
@lydialutz
@lydialutz 3 года назад
OK, but why? Why does local development need ssl?
@justinstolpe
@justinstolpe 3 года назад
Some APIs require redirect URIs to be https.
@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.
@cac2244
@cac2244 3 года назад
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
@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.
@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/
@urs_truly_rohit
@urs_truly_rohit 3 года назад
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.
@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
@tatadael4475
@tatadael4475 2 года назад
_Wow..Now I know...
@SalomDunyoIT
@SalomDunyoIT 3 года назад
ospanel.io check out
@jsutmeasimpleman
@jsutmeasimpleman 2 года назад
Great video, but is too much for a beginner. I pass.
Далее
Instagram Graph API Pagination and Cursors
17:15
Просмотров 4 тыс.
https and React on localhost w/mkcert
5:15
Просмотров 6 тыс.
У КОТЕНКА ПРОБЛЕМА?#cat
00:18
Просмотров 984 тыс.
HTTPS, SSL, TLS & Certificate Authority Explained
43:29
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Web Server Concepts and Examples
19:40
Просмотров 249 тыс.
Coding a Web Server in 25 Lines - Computerphile
17:49
Просмотров 338 тыс.
How to create a valid self signed SSL Certificate?
25:01