Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Updated 12-Jul-17 22:35pm

1 solution

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[^]
 
Share this answer
 
Comments
Tbs.User 13-Jul-17 5:12am    
Yes I already gone through this but not find it helpful. His requirement was to o avoid unnecessary cookies in request AND avoid additional DNS request. And mine is to provide more security over IP and even in that none of answer showing clear idea about solution. Even i can say if its possible or not. But when I am going to implement it its not working. If you know you can answer it. Otherwise even I can also Googled like this if I can get answer easily in this way then why should i write all this stuff.
F-ES Sitecore 13-Jul-17 5:16am    
It doesn't matter that his motives differ from yours, he wants to do the same thing so the solution applies regardless.
Tbs.User 13-Jul-17 5:20am    
But its not containing any answer How i can do it. Even i know Its possible. I also said what i tried and I know what need to do for that. But its now working for https. So for that I am asking no each and every body is saying its possible or not but no body answer how. So if you Know the answer then give it otherwise dont wast mine and yours valuable time.
F-ES Sitecore 13-Jul-17 5:25am    
"Not working" doesn't give anyone enough information to help. You've probably either created the cert wrongly or configured IIS wrongly.
Tbs.User 14-Jul-17 6:09am    
Now I am waiting for response after giving all details as you asked.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900