douli2063 2017-05-19 22:16
浏览 199

如何使用xampp在本地主机上放置SSL?

I have created an SSL certificate, and imported it.

My Apache is working, but my localhost website is not showing https://. The site is up and running but only as http://.

I followed the steps shown here: http://robsnotebook.com/xampp-ssl-encrypt-passwords

I am wondering if my problem is "One thing to keep in mind with this redirection is that if you have virtual hosts, you need to place the redirection code (with the RewriteCond and RewriteRule) inside of your virtual host declarations, otherwise the redirection won’t work"? Not sure what it is or how to do it.

This video is the same as above. I followed it and debugged the code, which is why my Apache is running. For me the issue was with the Code, not Ports being blocked as many other people had problems with, especially because of Skype, etc. https://www.youtube.com/watch?v=PQZ8wzV9VU8

Hopefully, this makes sense, if you have any questions I'll do my best to answer them. Any advice, tips or links would be useful. Thank you.


I haven't found away how to correct the "match," if this is the problem. Did I enter something incorrectly when creating the SSL certificate?. Error Log is as follows:

[Fri May 19 16:19:14.955930 2017] [ssl:warn] [pid 6812:tid 252] AH01909: localhost:4433:0 server certificate does NOT include an ID which matches the server name

[Fri May 19 16:19:15.015933 2017] [core:warn] [pid 6812:tid 252] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Fri May 19 16:19:15.218945 2017] [ssl:warn] [pid 6812:tid 252] AH01909: localhost:4433:0 server certificate does NOT include an ID which matches the server name

[Fri May 19 16:19:15.271948 2017] [mpm_winnt:notice] [pid 6812:tid 252] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.21 configured -- resuming normal operations

[Fri May 19 16:19:15.271948 2017] [mpm_winnt:notice] [pid 6812:tid 252] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13

[Fri May 19 16:19:15.271948 2017] [core:notice] [pid 6812:tid 252] AH00094: Command line: 'c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'

[Fri May 19 16:19:15.274948 2017] [mpm_winnt:notice] [pid 6812:tid 252] AH00418: Parent: Created child process 5588

[Fri May 19 16:19:16.048993 2017] [ssl:warn] [pid 5588:tid 264] AH01909: localhost:4433:0 server certificate does NOT include an ID which matches the server name

[Fri May 19 16:19:16.473017 2017] [ssl:warn] [pid 5588:tid 264] AH01909: localhost:4433:0 server certificate does NOT include an ID which matches the server name

[Fri May 19 16:19:16.542021 2017] [mpm_winnt:notice] [pid 5588:tid 264] AH00354: Child: Starting 150 worker threads.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 R语言Rstudio突然无法启动
    • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
    • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
    • ¥15 用windows做服务的同志有吗
    • ¥60 求一个简单的网页(标签-安全|关键词-上传)
    • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
    • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
    • ¥100 为什么这个恒流源电路不能恒流?
    • ¥15 有偿求跨组件数据流路径图
    • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值