No video

How to enable SSL (https protocol) with Xampp in a local PHP project

  Рет қаралды 164,796

Our Code World

Our Code World

Күн бұрын

Read the original article here: ourcodeworld.co...
Please subscribe to our channel. For more awesome content visit
ourcodeworld.com
Music: Bensound.com
Follow us on Twitter
/ ourcodeworld
Like us on Facebook:
/ ourcodeworld

Пікірлер: 45
@OurCodeWorld
@OurCodeWorld 6 жыл бұрын
To everyone that says that the page is still not secured because you get the warning of "Your connection is not private", is normal. The certificate that we are using is the default of xampp, so it is a *self signed certificate*, which won't be accepted by any browser as a legitime certificate. It can be still used for development purposes locally. To get rid off the message, just buy a legitime certificate issued by any CA, it can be as cheap as $4.95/Year according to your needs (ourcodeworld.com/articles/read/352/top-10-best-cheapest-ssl-certificates). If you are not willing to pay anything for a SSL certificate, there's a free option namely letsencrypt.org/ , however you will need to renew it very often. Important: the goal of the video is the same with a self-signed or an issued certificate, just change the path to the certificate and key file.
@NishanSaliya
@NishanSaliya 5 жыл бұрын
Thank you so much. Needed this for a local project and works well just as shown in video. Thanks again.
@workingTchr
@workingTchr 3 жыл бұрын
"As you can see we have a normal vhost configured to a Symphony project that can be accessed through http but not https". Lost me.
@tiornacoulibaly6464
@tiornacoulibaly6464 4 жыл бұрын
Thank you! you just saved me from an ordeal
@WyzrdCat
@WyzrdCat 5 жыл бұрын
0:58 that button is not a thing...
@MEGAFERMAN
@MEGAFERMAN 2 жыл бұрын
i have a question, does this works for acces from remote? example my smartphone?
@arthurclass4808
@arthurclass4808 7 жыл бұрын
Great video ,it worked ,thank you !!!
@F3lip947
@F3lip947 5 жыл бұрын
Dude, where the certificate should be configured?, on SSL config File from Apache or this other File? Please i need help, i cant enable SSL on Xamp for a public domain
@Archievald
@Archievald 4 жыл бұрын
Tried this but apache won't restart anymore in xampp i got this error [Apache] Error: Apache shutdown unexpectedly. [Apache] This may be due to a blocked port, missing dependencies, [Apache] improper privileges, a crash, or a shutdown by another method. [Apache] Press the Logs button to view error logs and check [Apache] the Windows Event Viewer for more clues [Apache] If you need more help, copy and post this [Apache] entire log window on the forums
@nashi.t3965
@nashi.t3965 3 жыл бұрын
Is this will work even if access from the internet?
@ricande
@ricande 6 жыл бұрын
When did you get secure? You only added an exception to your browser. You are still unsecured. That won't work... at all. You need a valid certificate for that.
@Asasing
@Asasing 6 жыл бұрын
Thank you very much, very helpfull
@rafafawwaz9181
@rafafawwaz9181 3 жыл бұрын
tysm, very helpful
@rifqiagung8350
@rifqiagung8350 7 жыл бұрын
Hi nice tutorial.. Ive follow all your instruction, i add virtual host 127.0.0.1:80 and port 443 and also in drivers/hosts. but i still get privacy error..
@OurCodeWorld
@OurCodeWorld 7 жыл бұрын
Hi Rifqi, the privacy error will obviously still shown as your SSL certificate have been not issue by a CA. The certificate is self-signed, so the browser warns about it. You only need to skip that message and the project will work with HTTPS. Check out this comment on the article: disq.us/p/1kp01ee
@YLwong94
@YLwong94 6 жыл бұрын
by default xampp not using any vhost, is it possible to install ssl without vhost?
@am34
@am34 6 жыл бұрын
I'm pretty sure that is just how you skip the error as opposed to fix it
@minepro1206
@minepro1206 6 жыл бұрын
Muffled Music Exactly
@auricurvy
@auricurvy 6 жыл бұрын
The browser don't give the Add Exception option anymore so it's not possible to do this. Though it was informative, not working.
@hungchip
@hungchip 3 жыл бұрын
not working! Erro 403 access dini
@nolialbay8748
@nolialbay8748 6 жыл бұрын
Why i'm still receiving not secure on my browser?
@narendrakumarbiswal2023
@narendrakumarbiswal2023 4 жыл бұрын
worked for me for 127.0.0.5:05 port, as expected, but how u did for sandbox/page.php, it doesnot work if i use my application name in side htdocs app path: htdocs/ess/index.php Virtualhost: 127.0.0.5:85 when i use virtual host it is working as expected, but how will i give alias name like u did some thing alias name except , ip, or server name, completely an anonymous virtual name for my application to work on LAN
@7us
@7us 3 жыл бұрын
If you're using Windows 10. Go to Windows/System32/drivers/etc Open the "hosts" file, and append to it the local ip for your project without the port number, and the name you want. example: 127.0.0.5 mysite.com the next time you visit mysite.com it will forward you to 127.0.0.5. it might require restarting your PC. stackoverflow.com/q/3660066
@dailysongsradio8202
@dailysongsradio8202 6 жыл бұрын
I was expecting more. Like create a certificate
@zerocooling001
@zerocooling001 6 ай бұрын
not working anymore
@butchiki05
@butchiki05 7 жыл бұрын
not working, still not secure
@dk-gl
@dk-gl 6 жыл бұрын
Great video. I've subscribed you :)
@nolialbay8748
@nolialbay8748 6 жыл бұрын
Does this tutorial work to you?
@stefonita
@stefonita 7 жыл бұрын
It was helpful ! Thank you !
@farhanaizwani9890
@farhanaizwani9890 7 жыл бұрын
Hi, I have a question, "127.0.0.2"
@OurCodeWorld
@OurCodeWorld 7 жыл бұрын
Hi Farhana, Yes, it should target some localhost IP with an alias (usually configured in the hosts file of your operative System). If you don't have knowledge of virtual hosts, you won't probably understand totally what we've just made in the video. We recommend you to read first this question in Stack Overflow that will show you how to create a normal virtual host in Windows and UNIX based operative systems: stackoverflow.com/questions/27268205/how-to-create-virtual-host-on-xampp Once you understand how to setup a very basic Virtual Host with http, then you can follow our video to implement the httpS version of the same. Thanks for the comment !
@farhanaizwani9890
@farhanaizwani9890 7 жыл бұрын
ok.... i already get the result.... btw.. tq so much for the information
@solehan17
@solehan17 6 жыл бұрын
how to enable vhost ?
@desipablo2146
@desipablo2146 2 жыл бұрын
not working
@homeuser3108
@homeuser3108 5 жыл бұрын
It's not an enabling SSL! It's a profanation!
@Gszada
@Gszada 3 жыл бұрын
This fucked up my Xampp.. I don't recommend it..
@Fast5MTA
@Fast5MTA 6 жыл бұрын
Still 404 like 1:33 for me
@drabdullayev17
@drabdullayev17 7 жыл бұрын
Can you give HTML code, please.
@OurCodeWorld
@OurCodeWorld 7 жыл бұрын
Hi, to detect wheter the connection uses HTTP or HTTPS we use a little JavaScript snippet: paste2.org/28NUJb0P
@drabdullayev17
@drabdullayev17 7 жыл бұрын
Thanks
The Beginner's Guide to SSL Certificates with XAMPP - How to Generate Secure Web SSL Certificate
21:25
HTTPS, SSL, TLS & Certificate Authority Explained
43:29
Laith Academy
Рет қаралды 95 М.
Schoolboy Runaway в реальной жизни🤣@onLI_gAmeS
00:31
МишАня
Рет қаралды 2,8 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
How to Set Up an SSL Certificate in Localhost for XAMPP
12:27
Neutron Dev
Рет қаралды 15 М.
Install SSL on Xampp and convert localhost to  yourdomain.com
15:02
Sulochana Tutorials
Рет қаралды 19 М.
What Are APIs? - Simply Explained
6:49
Simply Explained
Рет қаралды 880 М.
How to setup and enable HTTPS with SSL on wamp server virtual host
16:08
Laravel Package Tutorial
Рет қаралды 40 М.
Set up SSL Connections on your local web server (XAMPP)
16:47