![]() ![]() I'm Using XAMPP 3.2.1, Compiled May,7 2013 This may be an old question, but i am putting my answer here anyway for future reference NameVirtualHost *:80ĭocumentRoot "C:\Users\user_name\Documents\project_two" ![]() And if using a star, also a NameVirtualHost *:443 line. It needs a port number, which is always 443 for an HTTPS:// URL, in combination with either an IP address or a star before it. (The paths above are from my WampDeveloper Pro set up, Xampp's will be slightly different) SSLCertificateFile "C:/WampDeveloper/Websites/SSLCertificateKeyFile "C:/WampDeveloper/Websites/ ĭocumentRoot "C:/WampDeveloper/Websites/ServerName ServerAlias SSL, of the HTTPS://url.here/ variety, is entirely handled by Apache and has nothing to do with PHP, or any of PHP's extensions/modules, or any php.ini settings.Ī typical SSL Enabled VirtualHost looks like this and contains at least these parts. LoadModule ssl_module modules/mod_ssl.so was uncommented in nf file.When trying to access my project by typing into chrome I automatically get forwarded to (as if XAMPP doesn't recognize as a subdomain at all and treats it as if I'm typing in Any idea where I'm screwing up? I would usually access my project by typing in SSLCertificateKeyFile "conf/ssl.key/server.key" SSLCertificateFile "conf/ssl.crt/server.crt" #Xampp install certificate ssl fullThis is the full file: ĭocumentRoot "C:\Users\user_name\Documents\project_one" The relevant section of that file is below. Removed the semicolon in front of extension=php_openssl.dll in php.ini ( reference).I imported the server.crt file into chrome.I followed the first part of this this tutorial to create the certificate. Bear with me because this is the first time I've ever used SSL. I am writing a php app on my local machine and would like to test to see if SSL is working. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |