我已经为mac下载了xampp,安装了它,并购买了ssl证书,但是我很难
安装ssl的时间..。
搜索google,但无法理解他们所做的方式,请您慢慢来
解释一下..。
发布于 2012-07-07 21:40:51
您需要编辑以启用SSL的文件是httpd-ssl.conf目录中的conf/extra。
更改以下指令:
SSLCertificateFile到domain_com.crtSSLCACertificateFile到PositiveSSLCA2.crtSSLCertificateKeyFile到创建CSR时收到的私钥文件。- Open " **Terminal** " and type: `sudo nano /private/etc/hosts` then add `127.0.0.1 your_domain.com` and `127.0.0.1 www.your_domain.com`, when done editing the hosts file, press **control-o** to save the file.
然后调用sudo /Applications/XAMPP/xamppfiles/xampp enablessl在httpd.conf中启用SSL并重新启动Apache。现在尝试访问https://localhost
https://stackoverflow.com/questions/11377651
复制相似问题