Https块在IIS 7及更高版本中上传图像 [英] Https blocks upload an image in IIS 7 and above

查看:88
本文介绍了Https块在IIS 7及更高版本中上传图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Web应用程序。员工图片上传是其中一个选项。它的工作正常在http。当我尝试以https上传图像时,无法显示该页面。在https模式下,我可以上传不超过20 kb的文件。



我尝试了什么:



我给了maxRequest和maxAllowedContentLenth也高达1 gb。但它不起作用。

解决方案

您提供的信息很少(甚至不是错误消息),您需要检查您的SSL证书。它可能无效/可信并阻止您上传的能力。只是简单地将http更改为https并不是如何工作的,所以如果你没有ssl证书,你需要购买一个并将其安装在你的IIS服务器中。



什么是SSL证书? | DigiCert.com [ ^ ]



SSL证书安装:Microsoft IIS 7 | DigiCert.com [ ^ ]



IIS 7:安装证书| SSL证书 - GoDaddy帮助我们 [ ^ ]

I am developing a web application. Employee image upload is one of the option. Its working fine in http. when i try to upload image in https, the page cannot be displayed. In https mode i can able to upload 20 kb file not more than that.

What I have tried:

I have given maxRequest and maxAllowedContentLenth also upto 1 gb. but it won't work.

解决方案

With what little information you have provided (not even an error message) you need to check your SSL cert. It is probably not valid/trusted and blocking your ability to upload. Just simply changing http to https isn't how that works, so if you don't have an ssl cert, you'll need to go purchase one and install it in your IIS server.

What Are SSL Certificates? | DigiCert.com[^]

SSL Certificate Installation: Microsoft IIS 7 | DigiCert.com[^]

IIS 7: Install a certificate | SSL Certificates - GoDaddy Help US[^]


这篇关于Https块在IIS 7及更高版本中上传图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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