SSL证书安装
大家好 Apach2traid+ssl+证书:
我正在尝试制作一个安全的付款网页
此网页用于学习目的
所以我想我可以试用 veriSign 证书
那么获得证书后我应该做什么
如果我仅将我的网站用作本地主机,它会起作用吗
最后我被告知创建一个虚拟服务器以使其运行我尝试了
<VirtualHost localhost>
SSLCertificateFile C:\apache2triad\opssl\cert\my.cer
SSLCertificateKeyFile C:\apache2triad\opssl\cert\server.key
SSLCACertificateFile C:\apache2triad\opssl\cert\intermediate.crt
</VirtualHost>
httpd.conf 中的流程
之后 apache 与 ssl 工作人员正常
但是当我使用 https 调用页面时
它没有运行
我应该做一些其他的事情而不是仅仅放置 https
需要一些帮助和讨论吗 谢谢
Hi ALL Apach2traid+ssl+cetificate:
I am trying to make a secure web page for payment
and this web page is for study purpose
so i thought that i may take a trial veriSign certificate
so after obtaining the certificate what should i do
and do it work if i am using my website only as localhost
finally i was told to mke a virtual server to make it run i tried the flowing
<VirtualHost localhost>
SSLCertificateFile C:\apache2triad\opssl\cert\my.cer
SSLCertificateKeyFile C:\apache2triad\opssl\cert\server.key
SSLCACertificateFile C:\apache2triad\opssl\cert\intermediate.crt
</VirtualHost>
this was in the httpd.conf
and after that the apache with ssl worker ok
but when i call a page with https
it didnt run
should i make some thing else rather than just put https
need some help and discussion please
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
https 连接到不同的端口号 443,正常的 http 请求到达端口 80。
您还需要确保 apache 正在侦听端口 443,这是您 httpd.conf 中其他地方的内容,
祝您好运!
https connects on a different port number, 443, normal http request come to port 80.
and you'll also need to make sure apache is listening on port 443, elsewhere in your httpd.conf
bets of luck!
您错过了(在虚拟主机中):
正如 Fire Crow 所建议的,您还需要在 443 上运行它。虽然您可以在端口 80 上运行 HTTPS,但这确实是一件奇怪的事情。
You missed (in the virtualhost):
As Fire Crow suggested, you'll also want to run it on 443. Whilst you could run HTTPS on port 80, it'd be a strange thing indeed.