简体   繁体   English

在SSL中使用IIS Express开发证书时无法登录应用程序

[英]Unable to login the application when using IIS Express Development Certificate in SSL

I have implemented SSL connection in my application. 我已经在我的应用程序中实现了SSL连接。 For this I have added IIS Express Development Certificate while hosting the site in IIS. 为此,我在IIS中托管站点时添加了IIS Express开发证书。

I could use other pages with SSL. 我可以将其他页面用于SSL。 ie., https://localhost/general https:// localhost / general

I am unable to login the application using SSL. 我无法使用SSL登录该应用程序。 My url changing like https://localhost/accounts/login and becomes empty page. 我的网址像https:// localhost / accounts / login一样更改,并变成空白页。

I am getting the below error in Firefox browser. 我在Firefox浏览器中收到以下错误。 This site makes use of a SHA-1 Certificate; 本网站使用SHA-1证书; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1. 建议您将证书与签名算法一起使用,该算法使用比SHA-1更强的哈希函数。

I have tried by using Self-signed certificate also. 我也尝试过使用自签名证书。

Is this problem arise because of IIS Express Development Certificate ?? 是否由于IIS Express开发证书而出现此问题?

Either you use full IIS or IIS Express, the default self-signed certificates generated are SHA-1 only, and now become obsolete. 使用完整的IIS或IIS Express,生成的默认自签名证书仅是SHA-1,现在已过时。

To generate SHA-2 certificates, you can use Jexus Manager, 要生成SHA-2证书,您可以使用Jexus Manager,

https://blog.lextudio.com/2016/03/jexus-manager-enhanced-self-signed-certificate-generation/ https://blog.lextudio.com/2016/03/jexus-manager-enhanced-self-signed-certificate-generation/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM