开发者

nopCommerce https ssl

开发者 https://www.devze.com 2023-04-12 06:37 出处:网络
I have a question to ask , I am using nopCommerce v1.6 and I see that in administration section it is using ssl and https protocol. So I want to ask,, how it is possible to use https and s开发者_Stack

I have a question to ask , I am using nopCommerce v1.6 and I see that in administration section it is using ssl and https protocol. So I want to ask,, how it is possible to use https and s开发者_StackOverflow社区sl without access to iis to specify certificate ? thank you


If I have understood correctly, you would like to see the admin section of the NopCommerce without accessing the IIS. You would have to modify the BaseNopController located in Nop.Admin.Controllers.

There is an attribute as below.

[NopHttpsRequirement(SslRequirement.Yes)]
public class BaseNopController : Controller  

Change value SslRequirement to No and then NopService admin section will not require ssl. In case if your concern was not having SSL self-signed certificate, you could use self certify feature of the IIS server. Check this ScottGu's post for more details.

0

精彩评论

暂无评论...
验证码 换一张
取 消