首页 技术 正文
技术 2022年11月7日
0 收藏 959 点赞 383 浏览 691 个字

  《Windows Azure Platform 系列文章目录

  我们在使用微软云Azure Web App的时候,会使用微软的二级域名:http://xxx.chinacloudsites.cn/。如下图:

  Windows Azure Web Site (16) Azure Web Site HTTPS

  

  上图中:chinacloudsites.cn这个根域名,是微软Azure的,这个域名,默认支持HTTP和HTTPS。我们可以通过https://来访问这个这个域名,如下图:

  Windows Azure Web Site (16) Azure Web Site HTTPS

  注意:今天是2016年3月28日,微软Azure之前的HTTPS的CA (Certificate Authority)是CNNIC。

  最近世纪互联将开始使用WoSign作为HTTPS端根证书。

  目前看起来,Azure Web App的根证书依旧是CNNIC,需要花点时间才会迁移到WoSign

  Windows Azure Web Site (16) Azure Web Site HTTPS

  如果我们部署在Azure Web Site,使用微软云上的服务,可以直接使用这个DNS地址:https://leiwebsite.chinacloudsites.cn/

  (不过一般性客户不会使用这个微软云默认提供的二级域名对外提供服务,因为地址看起来和客户的生产域名差别很大)

  这时候就有2个DNS地址可以给客户使用,

  -  http://leiwebsite.chinacloudsites.cn

  -  https://leiwebsite.chinacloudsites.cn/

  如果我们想强制客户端采用HTTPS地址访问,应该如果操作呢?

  我们可以修改用户的Web.config文件,修改以下红色部分

  Windows Azure Web Site (16) Azure Web Site HTTPS

  这样客户端来访问http地址的时候,页面会跳转到https来访问。

  

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:8,983
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,500
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,344
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,127
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,761
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,838