dqz86173 2013-04-16 23:39
浏览 22
已采纳

php站点开发期间的SSL

I'm about to develop a new website and will require a EV SSL certificate when the site is pushed to the production server. My question is during development I won't have an EV SSL certificate (although I could have a self signed cert if needed). If I develop my PHP site without an SSL cert then push it to my production server, is it likely to work or are there going to be a ton of issue surrounding this?

Also if I do develop locally with a self-signed SSL cert then push to the production server where it will have the EV SSL, is that like to cause any issues?

I just thought I'd clarify these few point before diving in and getting carried away. Are there any industry standards or best practices on how one should develop a site locally that will end up with a SSL certificate?

Note: I'm going to be using the Laravel framework if that makes any difference to answering this question.

  • 写回答

2条回答 默认 最新

  • doutu2017 2013-04-22 06:55
    关注

    Normally you shouldn't have any problems, switching from an HTTP to an HTTPS server. Using a self signed certificate for development is surely a good idea though.

    There are two major points that can go wrong:

    1. Your application builds absolute links starting with 'http://'. This problem you can prevent using a self signed certificate, or with building only relative URL's.
    2. The security settings of the session require SSL (e.g. the cookie should be restricted to SSL only). This would more be a problem on the development environment and again this problem can be prevented with a self signed certificate.
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 BP神经网络控制倒立摆
  • ¥20 要这个数学建模编程的代码 并且能完整允许出来结果 完整的过程和数据的结果
  • ¥15 html5+css和javascript有人可以帮吗?图片要怎么插入代码里面啊
  • ¥30 Unity接入微信SDK 无法开启摄像头
  • ¥20 有偿 写代码 要用特定的软件anaconda 里的jvpyter 用python3写
  • ¥20 cad图纸,chx-3六轴码垛机器人
  • ¥15 移动摄像头专网需要解vlan
  • ¥20 access多表提取相同字段数据并合并
  • ¥20 基于MSP430f5529的MPU6050驱动,求出欧拉角
  • ¥20 Java-Oj-桌布的计算