我需要在IIS中为站点托管https协议,而只使用IP地址而不是主机名 [英] I need to host site in IIS for https protocol with IP address only rather then hostname

查看:341
本文介绍了我需要在IIS中为站点托管https协议,而只使用IP地址而不是主机名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have one application in .net which i want to host on server which can access through IP(Not by Host name) only in HTTPS protocol. I have Self sign certificate if i am doing it with host name then its working. 

But As per Requirement i have to do it with IP only due to some security reasons. Is this possible to do? If yes then how can I do it?





我尝试过:





What I have tried:

I have created application Pool, Site, SSL Certificate. If I am hosting it with only in Http mode then also its working but when I changed it to https it not working.

推荐答案

I谷歌搜索https与IP地址,这是第一个结果



https - 是否可以获得IP地址的SSL证书,而不是域名? - 堆栈溢出 [ ^ ]
I googled "https with ip address" and this was the first result

https - Is it possible to have SSL certificate for IP address, not domain name? - Stack Overflow[^]


这篇关于我需要在IIS中为站点托管https协议,而只使用IP地址而不是主机名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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