大网数据广告活动
服务器运维问答

How to configure IIS Express in order to allow a non-administrator to use SSL ports outside the range of 44300 to 44399?

· 52CE 我爱测

According to the IIS Express documentation administrative privileges are needed to run SSL using a port outside the range of 44300 to 44399. For non-administrative users IIS Express configures HTTP.SYS to reserve ports 44300 thro…

问题原文

原帖链接 · AardVark71 · CC BY-SA 4.0

According to the IIS Express documentation administrative privileges are needed to run SSL using a port outside the range of 44300 to 44399.

For non-administrative users IIS Express

  • configures HTTP.SYS to reserve ports 44300 through 44399 for SSL
  • associates incoming SSL localhost requests in that range with a pre-installed self-signed SSL certificate

Is there a way to enable non-administrative users to run SSL on IIS-Express using a port outside the range of 44300 to 44399?

E.g. can I use netsh http add urlacl to open up SSL ports outside the range of 44300 to 44399 for user=EVERYONE ? E.g. can I use netsh http add sslcert to add the self-signed certicate to ports outside the range of 44300 to 44399 ?

已采纳解答

原帖链接 · Lex Li · CC BY-SA 4.0

IIS Express installer creates several IP based bindings in Windows HTTP API, and that's why 44300-44399 has been enabled by default.

You can feel free to create more such bindings (via netsh http add sslcert command), but creation of them requires administrator permissions.

Reference

netsh http add urlacl is not needed, as it serves other purposes.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-06-04)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。