It's not actually secure. The browser says it's not secure and doesn't allow me to open the page unless I click Continue, which can be a really big problem.
22:56:58 [Apache] Error: Apache shutdown unexpectedly. 22:56:58 [Apache] This may be due to a blocked port, missing dependencies, 22:56:58 [Apache] improper privileges, a crash, or a shutdown by another method. 22:56:58 [Apache] Press the Logs button to view error logs and check 22:56:58 [Apache] the Windows Event Viewer for more clues 22:56:58 [Apache] If you need more help, copy and post this 22:56:58 [Apache] entire log window on the forums
Thank you very much ! Your video is very clear and straightforward. Only one thing that caused my XAMPP to refuse restarting is the ServiceAlias tag from the .conf file. Only after I removed it - my server restarted successfully and my website is now HTTPS ! Thanks again ! 🙂
6:36:53 PM [Apache] Error: Apache shutdown unexpectedly. 6:36:53 PM [Apache] This may be due to a blocked port, missing dependencies, 6:36:53 PM [Apache] improper privileges, a crash, or a shutdown by another method. 6:36:53 PM [Apache] Press the Logs button to view error logs and check 6:36:53 PM [Apache] the Windows Event Viewer for more clues 6:36:53 PM [Apache] If you need more help, copy and post this 6:36:53 PM [Apache] entire log window on the forums
el error esta en el archivo httpd-xampp.conf, asegúrate de haber escrito bien los virtualhosts, tendrías que tener algo así: DocumentRoot "C:\xampp\htdocs" ServerName localhost ServerAlias *.localhost DocumentRoot "C:\xampp\htdocs" ServerName localhost ServerAlias *.localhost SSLEngine on SSLCertificateFile "crt/localhost/server.crt" SSLCertificateKeyFile "crt/localhost/server.key" yo use "localhost" como dominio, cámbialo por el que vos quieras.
Error: Apache shutdown unexpectedly. 11:32:55 AM [Apache] This may be due to a blocked port, missing dependencies, 11:32:55 AM [Apache] improper privileges, a crash, or a shutdown by another method. 11:32:55 AM [Apache] Press the Logs button to view error logs and check 11:32:55 AM [Apache] the Windows Event Viewer for more clues 11:32:55 AM [Apache] If you need more help, copy and post this 11:32:55 AM [Apache] entire log window on the forums getting this error
simply just go to xampp folder in your file explorer open mysql folder change data name into data old save it... and then after , create a new folder name it as data and save it... now just in mysql folder again and open backup folder and copy all backup data form there and paste it on newly created data folder.. now just go to data old direction and just copy your data only mysql and wordpress data (localhost) and ib1data file too..and paste it on newly created data folder... now run again mysql and apache it will work again.
when i was add virtual host that details in httpd-xampp.conf file then our apache shutdown unexpectedly......i was add port as a 8080,4433 ...because I was change port setting previously
I can't reach mySQL after enstablishing the SSL certificate for my localhost. The dashboard works fine using the new domain. But when i tried to click phpMyAdmin it shows Error 404 - Object not found!!!
Question1: How to create server.key? Because I've to provide server key to third party to issue the SSL for xampp. Question2: After apply SSL certificate, when I tried to open my website on another computer on the same network with xampp iP and path, the SSL will not work. Any idea how we can access the website from other computer and still SSL works. Answer would be appreciated.
i got "Error: Apache shutdown unexpectedly. 19:02:40 [Apache] This may be due to a blocked port, missing dependencies, 19:02:40 [Apache] improper privileges, a crash, or a shutdown by another method. 19:02:40 [Apache] Press the Logs button to view error logs and check 19:02:40 [Apache] the Windows Event Viewer for more clues 19:02:40 [Apache] If you need more help, copy and post this 19:02:40 [Apache] entire log window on the forums" Please help me
In the currently (Oct. 16, 22) offered GDrive file, there is an error! DocumentRoot "F:\xampp\htdocs" ServerName sites.local ServiceAlias *.sites.local SSLEngine on SSLCertificateFile "crt/sites.local/server.crt" SSLCertificateKeyFile "crt/sites.local/server.key"
ServerAlias and not ServiceAlias! For me it worked with the following code. DocumentRoot "C:\xampp\htdocs" ServerName sites.local ServerAlias *.sites.local DocumentRoot "C:\xampp\htdocs" ServerName sites.local ServerAlias *.sites.local SSLEngine on SSLCertificateFile "crt/sites.local/server.crt" SSLCertificateKeyFile "crt/sites.local/server.key"
This is the best tutorial for this topic! Specially since I have watched and followed different methods from other tutorials, this one is the easiest and most accurate!!! THANK YOU VERY MUCH!!! :) :)
Not sure if the structure changed, but this didn't work for my version. The Apache server would not start and would not produce any errorlogs that were useful. Removing the code mentioned at the bottom of E:\XAMPP\apache\conf\extra\httpd-xampp corrected the issue for me. I will stop back if another tutorial leads me the same way with different results...
Hello Sir, I couldn't get the local site certificate on my folder. i got server key file only.. what i do the next step to get local site certificate.Kindly help me on it..
20:32:26 [Apache] Error: Apache shutdown unexpectedly. 20:32:26 [Apache] This may be due to a blocked port, missing dependencies, 20:32:26 [Apache] improper privileges, a crash, or a shutdown by another method. 20:32:26 [Apache] Press the Logs button to view error logs and check 20:32:26 [Apache] the Windows Event Viewer for more clues 20:32:26 [Apache] If you need more help, copy and post this 20:32:26 [Apache] entire log window on the forums kindly please help, xampp, apache, xampp dashboard nothing is working... please help.
Hello, I have the same problem ... I used port 70 instead of 80 and 4433 instead of 433 ... I reset everything to default values and it still does not work ... If I delete the 2 settings and from file "httpd-xamp.conf" then my Apache starts without problems, but if i add the 2 info then my xampp does not start the Apache ...
doesnt work for me 6:36:53 PM [Apache] Error: Apache shutdown unexpectedly. 6:36:53 PM [Apache] This may be due to a blocked port, missing dependencies, 6:36:53 PM [Apache] improper privileges, a crash, or a shutdown by another method. 6:36:53 PM [Apache] Press the Logs button to view error logs and check
Hi, I am getting the following error rrafter installing 11:25:17 AM [Apache] Error: Apache shutdown unexpectedly. 11:25:17 AM [Apache] This may be due to a blocked port, missing dependencies, 11:25:17 AM [Apache] improper privileges, a crash, or a shutdown by another method. 11:25:17 AM [Apache] Press the Logs button to view error logs and check 11:25:17 AM [Apache] the Windows Event Viewer for more clues 11:25:17 AM [Apache] If you need more help, copy and post this 11:25:17 AM [Apache] entire log window on the forums
hey! question. after i did all of this, xampp says: Error: Apache shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Please help! Edit: nevermind. a person with the username Yuval Agron commented (under this video): "Only one thing that caused my XAMPP to refuse restarting is the ServiceAlias tag from the .conf file. Only after I removed it - my server restarted successfully and my website is now HTTPS". He's a legend. Edit: when i go to the https site, it gives the error NET::ERR_CERT_AUTHORITY_INVALID. damnit. help... please..... Edit (yes, another one in the same 30m or less...): it seems to say that the cert is valid on the system im running it on, not on the system im trying to access it from. maybe if i restart my pc, it will work. ill try that and be back. - tried restarting my pc. didnt work. help, please.
Add multiple domain names with a single space in server name category and link them all in with your local dns through windows 32 option as described above
Thanks for the video. We appreciate all that you do.💖 I have a problem with the solution provided above, It's not working on Firefox it only works on chrome. What could be the reason. I appreciate your quick response.
I followed your procedure to the letter, but as I suspcted - Apace failed,, because my server is not install in a subfolder under htdocs, but instead directly in htdocs. My site is adressed Localhost (or nnn.nnn.nnn.nnn) and not as localhost/sitename (or nnn.nnn.nnn.nnn/sitename) What do I have to do to get the certificate correctly installed? Servername obviously can't be localhost...... I'd appreciate any -yelp
Hi , Everyone Please note this only work with in you System (Same where the Cert is Install ) , its not going to show any green pad in your local network for that you need to import the cert every individual local System. Still this Video is very informative. Thanx a lot to Prolong Services.
It's not actually secure. The browser says it's not secure and doesn't allow me to open the page unless I click Continue, which can be a really big problem.
22:56:58 [Apache] Error: Apache shutdown unexpectedly.
22:56:58 [Apache] This may be due to a blocked port, missing dependencies,
22:56:58 [Apache] improper privileges, a crash, or a shutdown by another method.
22:56:58 [Apache] Press the Logs button to view error logs and check
22:56:58 [Apache] the Windows Event Viewer for more clues
22:56:58 [Apache] If you need more help, copy and post this
22:56:58 [Apache] entire log window on the forums
Thank you very much ! Your video is very clear and straightforward. Only one thing that caused my XAMPP to refuse restarting is the ServiceAlias tag from the .conf file. Only after I removed it - my server restarted successfully and my website is now HTTPS ! Thanks again ! 🙂
Yes it's actually ServerAlias the conf in the description is wrong also struggled with that one
Oh sorry thats my mistake, i ll add latest working conf file
Where is that ServerAlias .config file?
@@rabiariaz5320 It's a ServerAlias tag inside the config files from the /xampp/apache/conf/extra directory. This is not a file name.
You saved my life.
Thanks bro this helped me for my assignment for doing HTTP basic auth over SSL.
Thank your for this video.... Money save.. love you bro.. 2000❤
6:36:53 PM [Apache] Error: Apache shutdown unexpectedly.
6:36:53 PM [Apache] This may be due to a blocked port, missing dependencies,
6:36:53 PM [Apache] improper privileges, a crash, or a shutdown by another method.
6:36:53 PM [Apache] Press the Logs button to view error logs and check
6:36:53 PM [Apache] the Windows Event Viewer for more clues
6:36:53 PM [Apache] If you need more help, copy and post this
6:36:53 PM [Apache] entire log window on the forums
Check the apache log to find the issue
el error esta en el archivo httpd-xampp.conf, asegúrate de haber escrito bien los virtualhosts, tendrías que tener algo así:
DocumentRoot "C:\xampp\htdocs"
ServerName localhost
ServerAlias *.localhost
DocumentRoot "C:\xampp\htdocs"
ServerName localhost
ServerAlias *.localhost
SSLEngine on
SSLCertificateFile "crt/localhost/server.crt"
SSLCertificateKeyFile "crt/localhost/server.key"
yo use "localhost" como dominio, cámbialo por el que vos quieras.
Does this issue Resolved? how
Uninstall Xampp From C Directory AND Install it in F Directory Then follow this step will resolve your problem
@@parceus4758 yes to the virtual host tag there is serverAlias not serviceAlias that you copied from
someone tried to sell me this ssl for local machine 😂
Thanks for this tutorial this is the best!
Thank you so much, i m making videos on other xampp related issues and tutorials
This is beautifully done!!! Thank you very much!!!👌
I almost search documents, nothing working, now it working fine for me, Thank you so much for support...
thank you so much worked in first attempt
Error: Apache shutdown unexpectedly.
11:32:55 AM [Apache] This may be due to a blocked port, missing dependencies,
11:32:55 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:32:55 AM [Apache] Press the Logs button to view error logs and check
11:32:55 AM [Apache] the Windows Event Viewer for more clues
11:32:55 AM [Apache] If you need more help, copy and post this
11:32:55 AM [Apache] entire log window on the forums
getting this error
same condition here bro. We need help!
How it get solved?
simply just go to xampp folder in your file explorer open mysql folder change data name into data old save it... and then after , create a new folder name it as data and save it... now just in mysql folder again and open backup folder and copy all backup data form there and paste it on newly created data folder..
now just go to data old direction and just copy your data only mysql and wordpress data (localhost) and ib1data file too..and paste it on newly created data folder...
now run again mysql and apache it will work again.
@@AjGaming-vx2pc Did not work
I subbed and liked it before even watching lol
Very clear tutorial many thanks brother couldn't have done it without you :)
Thank u so much, plz share with your friends as well 🤗🤗
Very useful! Thank you so much for the video!!
Glad it was helpful!
Live long Indians! you guys are the best
when i was add virtual host that details in httpd-xampp.conf file then our apache shutdown unexpectedly......i was add port as a 8080,4433 ...because I was change port setting previously
Sir, I can't start Apache after I stopped it. I already use your file but still don't want to start again
STILL WORKS! awesome for the guides
finally, I found a guy who can help me. Thank you so much!!
thanks wangu. you helped a lot
You are welcome, please keep supporting
I can't reach mySQL after enstablishing the SSL certificate for my localhost. The dashboard works fine using the new domain. But when i tried to click phpMyAdmin it shows Error 404 - Object not found!!!
Can u show me exact error?
getting this errror in error log "server certificate does NOT include an ID which matches the server name"
Thank you for a great video. Tried your solution and all works as a charm. many thanks!
is it necessary to name it site.local? can i name it just the normal name like 'localhost?
Question1: How to create server.key? Because I've to provide server key to third party to issue the SSL for xampp.
Question2: After apply SSL certificate, when I tried to open my website on another computer on the same network with xampp iP and path, the SSL will not work. Any idea how we can access the website from other computer and still SSL works.
Answer would be appreciated.
i got "Error: Apache shutdown unexpectedly.
19:02:40 [Apache] This may be due to a blocked port, missing dependencies,
19:02:40 [Apache] improper privileges, a crash, or a shutdown by another method.
19:02:40 [Apache] Press the Logs button to view error logs and check
19:02:40 [Apache] the Windows Event Viewer for more clues
19:02:40 [Apache] If you need more help, copy and post this
19:02:40 [Apache] entire log window on the forums"
Please help me
same
My Apache shutdown unexpectedly. Can someone please help me?
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
In the currently (Oct. 16, 22) offered GDrive file, there is an error!
DocumentRoot "F:\xampp\htdocs"
ServerName sites.local
ServiceAlias *.sites.local
SSLEngine on
SSLCertificateFile "crt/sites.local/server.crt"
SSLCertificateKeyFile "crt/sites.local/server.key"
ServerAlias and not ServiceAlias!
For me it worked with the following code.
DocumentRoot "C:\xampp\htdocs"
ServerName sites.local
ServerAlias *.sites.local
DocumentRoot "C:\xampp\htdocs"
ServerName sites.local
ServerAlias *.sites.local
SSLEngine on
SSLCertificateFile "crt/sites.local/server.crt"
SSLCertificateKeyFile "crt/sites.local/server.key"
ohh godd!!! it worked thank you soo much!!!
Thank you very much, the most straightforward and precise video for the topic
This is the best tutorial for this topic! Specially since I have watched and followed different methods from other tutorials, this one is the easiest and most accurate!!! THANK YOU VERY MUCH!!! :) :)
It's already working on my PC, although I am unsure why the facebook instant app seems to be not working.
Please help....
what problem are you facing?
very helpful , detailed explaination
Glad it was helpful!
apache error in xammp
Error: Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
Not sure if the structure changed, but this didn't work for my version. The Apache server would not start and would not produce any errorlogs that were useful. Removing the code mentioned at the bottom of E:\XAMPP\apache\conf\extra\httpd-xampp corrected the issue for me. I will stop back if another tutorial leads me the same way with different results...
Same here
mine not working when i change the port 80 to 8080 and 443 to 4433. please help
Hello Sir, I couldn't get the local site certificate on my folder. i got server key file only.. what i do the next step to get local site certificate.Kindly help me on it..
I'm getting an error "Don't have permission t access this resource
is this still working? i tried it but it still says not secured in my localhost url
you saved my day also my friend! Thanks a lot!!
Glad to hear that!
very clear.. many thanks!
did it work?
Is it applicable for "Intranet" system?
where about 100 or more devices are connected on same network?
after doing you staff the apache unable to start ?!
The system cannot find the path specified.
here is issue with me.. can you help me regarding this?
Thank you man you saved us
Couldn't start apache server follwing u at 7:47
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
i have error when i run the Apache, can you help me please in last step
on my side, it says only in IE this site is encrypted. but on CHORME it says not secuured.
if i add line http-xamp . The apache is not starting
20:32:26 [Apache] Error: Apache shutdown unexpectedly.
20:32:26 [Apache] This may be due to a blocked port, missing dependencies,
20:32:26 [Apache] improper privileges, a crash, or a shutdown by another method.
20:32:26 [Apache] Press the Logs button to view error logs and check
20:32:26 [Apache] the Windows Event Viewer for more clues
20:32:26 [Apache] If you need more help, copy and post this
20:32:26 [Apache] entire log window on the forums
kindly please help, xampp, apache, xampp dashboard nothing is working... please help.
Hello, I have the same problem ... I used port 70 instead of 80 and 4433 instead of 433 ... I reset everything to default values and it still does not work ... If I delete the 2 settings and from file "httpd-xamp.conf" then my Apache starts without problems, but if i add the 2 info then my xampp does not start the Apache ...
@@albertorestello8533 👍
My bro, you are the best
how to on public domain ?
this is work, thank you!!
You're welcome!
still works! Thank you!
great work thanks , When you try to access your local site from another device on the network,Is he working in local network ????
Bro i want to open a html file through https localhost what to do after this
Place that html file in htdocs folder
It works like magic. Thank you sir.
couldn't start apache server following u at 7:47
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
Thankyou brother .you make it easy
What to do if i am using IIS server for local host sites ?
best tutorial, thanks a lot
Thanks for save my life
hello, how i want to change the site. because i want to secure my website but its using localhost too. can u help me please sir
Thank you so much for this tutorial. It really helped. Just subscribed. :)
If i enable port fordwarding will the https still work on my external static ip address?
after doing this my apache is not starting. I don't know why
Uninstall Xampp From C Directory AND Install it in F Directory Then follow this step will resolve your problem
If i use the ip address of the secured machine in another machine to access the website will it be secured
After adding your code to the apache httpd-xamp file, apache on xampp doesnt work anymore. Removing the added code solved the problem.
Same problem
Can i use port forwarding on that domain
I have tried to create SSL, But I am getting error of "The system cannot find the path specified."
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
It's Cool! Respect ))
i cant start apache after i stopped it
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
Apache service is unable to start after doing all of this stuff
It's not working for me oo.
Apache shutdown Unexpectedly.
Please someone should help me
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
It's already working on my PC, although I am unsure why the facebook instant app seems to be not working.
Please help....
can we use this ssl when we access from phone browser in the same network ?
have you tried? or is it only working with https only on current machine?
it worked. thanks
How can I enable real ip as well ?
you didnt put all stuffs at description
Oh sorry, can u let me know what is left? So i can add in description
we will type them don't worry
Hey bro, when trying to run sites.local with https, it says certificate is not valid.
Same issue man
What the process of PositiveSSL?
I have a question, is it possible to share this setup website Localhost XAMPP with custom domain and SSL/HTTPS via WIFI to other devices?
Yes you can share on local wifi
doesnt work for me
6:36:53 PM [Apache] Error: Apache shutdown unexpectedly.
6:36:53 PM [Apache] This may be due to a blocked port, missing dependencies,
6:36:53 PM [Apache] improper privileges, a crash, or a shutdown by another method.
6:36:53 PM [Apache] Press the Logs button to view error logs and check
Uninstall Xampp From C Directory AND Install it in F Directory Then follow this step will resolve your problem
this video not working now. even if you install it in drive F
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
Thank U bro u save my time
Hi, I am getting the following error rrafter installing
11:25:17 AM [Apache] Error: Apache shutdown unexpectedly.
11:25:17 AM [Apache] This may be due to a blocked port, missing dependencies,
11:25:17 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:25:17 AM [Apache] Press the Logs button to view error logs and check
11:25:17 AM [Apache] the Windows Event Viewer for more clues
11:25:17 AM [Apache] If you need more help, copy and post this
11:25:17 AM [Apache] entire log window on the forums
non effect in internet
If anyones error are showing, Apache not Start , I fixed this error... Now working fine..
hey! question. after i did all of this, xampp says: Error: Apache shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method.
Please help!
Edit: nevermind. a person with the username Yuval Agron commented (under this video): "Only one thing that caused my XAMPP to refuse restarting is the ServiceAlias tag from the .conf file. Only after I removed it - my server restarted successfully and my website is now HTTPS". He's a legend.
Edit: when i go to the https site, it gives the error NET::ERR_CERT_AUTHORITY_INVALID. damnit. help... please.....
Edit (yes, another one in the same 30m or less...): it seems to say that the cert is valid on the system im running it on, not on the system im trying to access it from. maybe if i restart my pc, it will work. ill try that and be back. - tried restarting my pc. didnt work. help, please.
Same issue
did you fixed ?
change the ServiceAlias to ServerAlias..lool
hello from VN, can you help me to solve the problem ? i do the same as the video but it's not work
What problem are you facing?
Hi there, great video, it helped me a lot thanks!!! 👏👏👏👏👏👏
You're welcome!
how to access a localhost from android app the ipadresse not fonction with the openssl
Connect your laptop/pc and mobile on same network, and in your android app use local ip instead of localhost
@@LearnPainLess what port? the port where you installed the SSL cert?
very very very helpful video
Gracias, saludos desde PERU🇵🇪
Amazing tutorial. After searching for so long ultimately found a easy solution. But one query how can we do this for multiple domain names.
Add multiple domain names with a single space in server name category and link them all in with your local dns through windows 32 option as described above
Thank you man :)
its saying DNS address could not be found and the site could not be reached
Have u followed all steps properly?
It is working on sub-domains??? Thank you
Yes
Have you tried on subdomain?
@@LearnPainLess not yet bro.
@@LearnPainLess it is working on live too?
apache not started after this process.
i've updated "httpd-xampp.conf" file please use that latest config and this will resolve your problem, sorry for the inconvenience
Nice Tutorial ❤
Not working, I've just waste my time. I've tried it 3 times in deffarent drives.
What is your problem?
Thank You Thank You
You are very welcome
@@LearnPainLess 🤗
Thanks for the video.
We appreciate all that you do.💖
I have a problem with the solution provided above, It's not working on Firefox it only works on chrome.
What could be the reason.
I appreciate your quick response.
I followed your procedure to the letter, but as I suspcted - Apace failed,, because my server is not install in a subfolder under htdocs, but instead directly in htdocs. My site is adressed Localhost (or nnn.nnn.nnn.nnn) and not as localhost/sitename (or nnn.nnn.nnn.nnn/sitename)
What do I have to do to get the certificate correctly installed? Servername obviously can't be localhost......
I'd appreciate any -yelp
Hi , Everyone Please note this only work with in you System (Same where the Cert is Install ) , its not going to show any green pad in your local network for that you need to import the cert every individual local System.
Still this Video is very informative.
Thanx a lot to Prolong Services.
Can’t open host file
Follow video properly, first copy host file to desktop or anywhere else, then edit that copied host file