将网站从HTTP迁移到HTTPS [英] Migrating Website from HTTP to HTTPS

查看:125
本文介绍了将网站从HTTP迁移到HTTPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将网站从HTTP迁移到HTTPS并保持用户体验不变(没有警告弹出窗口)。要验证的前端要点是什么?

I have to migrate a website from HTTP to HTTPS and keep user experience unchanged (no warning popups). What would be the front end main points to be verified?

我意识到我必须确保所有内容(CSS,图像和JS)必须引用https内容,但是我仍然不确定a(链接)href属性以及是否有任何我遗漏的东西。

I realized I have to make sure all inclusions (CSS, images and JS) have to reference https content, but I'm still not sure about the a(link) href attribute and if there's anything I'm missing.

推荐答案

如何迁移到HTTPS 是一种出色的迁移方式。步骤如下:

How to migrate to HTTPS is an excellent migration howto. The steps are:


  1. 获取并安装证书

  2. 在服务器上启用HTTPS

  3. 建立站内网址相对

  4. 将HTTP重定向到HTTPS

  5. 启用严格的传输安全性和安全cookie

  1. Get and install certificates
  2. Enable HTTPS on your servers
  3. Make intra-site URLs relative
  4. Redirect HTTP to HTTPS
  5. Turn on strict transport security and secure cookies

在步骤3和步骤4之间,运行 Qualys的最佳做法测试您的网站

Between step 3 and step 4, run through Qualys' best practices and test your site.

这篇关于将网站从HTTP迁移到HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆