Setting up trust for SSL sites hosted in IISExpress

When I try to browse any SSL site in IISExpress over ports 44300 - 44399, the site shows up as untrusted.

The following links discuss how to setup IIS to serve externally and/or moving the cert from the Personal to Trusted root. http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx Create a Self-Signed Certificate within IIS Express

I don't really want to server externally over port 443. What I'd like is for the cert that IISExpress installs to be trusted so that any SSL sites in the port range 44300 - 44399 are considered trusted.

I've tried moving the IISExpress cert from the Personal to the Trusted root store but this does not seem to work.

Is this at all possible to do?


This is the way I did it, which is probably the simplest way possible:

  • Run your website to start IISExpress.
  • Run IE as an Administrator and browse to your SSL-enabled site.
  • Install the certificate into the Trusted Root Certification Authorities:
  • 在这里输入图像描述

    That's it.

    I only recommend doing this on a development box. If the IISExpress cert isn't generated randomly for your machine (does it? I don't know), there are serious security implications for putting the cert in the trusted store. If you're concerned, better to follow the more complicated set up of creating your own CAcert locally.

    链接地址: http://www.djcxy.com/p/68726.html

    上一篇: IIS Express SSL此网页不可用

    下一篇: 为IISExpress中托管的SSL站点设置信任