Couldn't connect to https port because of misssing SSL certificates - c#

On Windows 7, for ASP Web API solution, not able to connect to https port (other than 443) because of missing SSL port certificates(44300 +) which I checked it using "netsh http show sslcert". I tried adding certificate manually but it didn't work with my solution.
The binding statements for those ports are correct in "applicationhost.config" of IIS express.
"".These certificates are automatically generated on windows server 2008.
In the browser it shows is "This webpage is not available".
Can Somebody help me?

In IIS you will need to add a binding to that site for the port you want to use.
See this for additional help
http://www.digicert.com/ssl-certificate-installation-microsoft-iis-7.htm
or
IIS Express
http://msdn.microsoft.com/en-us/library/ms733791.aspx

Related

How to maintain a secured connection between the client and server?

I have designed a desktop application using windows forms app.
It will be receiving a pop-up message whenever an updated version is available on the server.
I have generated an API which consists of the updated version of the desktop application which is been used as the server with the help of the ngrok and I have enabled the SSL for the API. The SSL certificate is been installed into trusted root certification authority.
Now how to use the SSL for server validation(that is the clients who the SSL only need to hit the server and can download the updated version)?
Please, someone help me in solving this issue.

Why can't ASP.NET API be accessed via external ip?

I have a Windows Server 2012 R2 instance and I wanted to deploy an ASP.NET Web API to it (I have used custom deployment method, saving the .rar file on disk). I have created the website inside IIS and everything is working great on http://localhost:8080.
When I try to access it by its external ip (http://12.34.567.899:8080) it won't respond.
Also, the default website on port 80 is fully working.
Things that I have tried
1. My port is open as I have run 'netstat -a' and port 8080 shows as 'LISTENING'
2. I have already checked bindings for IIS, they are ':8080'
Thank you in advance.

firefox certificates issue in https proxy server

I'm developing an HTTPS proxy server using titanium proxy server. I will monitor some websites and will modify the response of those websites. Some of those websites are https, that's why I'm using https proxy server.
Now here is the problem. As far as I know, to intercept an HTTPS site, we must have certificate and titanium proxy server has a dummy certificate. I think whenever the server is started, titanium proxy server tries to install that certificate as a root certificate so that browsers can trust that certificate. This approach is working perfect for all browsers except firefox.
I can see titanium root certificate installed in all browsers and I can successfully intercept HTTPS websites running in Google Chrome or Safari. But whenever I try to open a HTTPS website in firefox, it gives an error that the connection is untrusted.
I think certificate is not being installed in firefox or is being rejected by firefox as it is not signed by any CA authority. But why are other browsers not showing the same error?
My problem is that I need to intercept HTTPS websites too - it is requirement of the project. What if I buy a certificate from a CA authority and use that certificate with application, will it work or not? Can I use web server certificates with a desktop application? I really don't know much about SSL. any help will be much appreciated. Looking forward to you guys.
PS: I'm attaching a snapshot of firefox windows, for reference.
error window
Firefox uses it's own CA store, while Chrome, Safari and IE use the systems CA store on Windows and Mac. Thus you explicitly need to import the certificate into Firefox as trusted.

How to setup Facebook App Domains localhost with port number (IIS Express)

I am try to implement some small login to my system with facebook,
my local solution is working under IIS Express and start via http://localhost:7883/ but Facebook does't allow to write any localhost and port number at App Domains section.
App Domains: http://localhost:7883/ should not contain protocol
information.
how I can fix it ?
thanks.
It is looks like no option, just need to use address with out port.

Cannot browse asp site from IIS 6.1 from server itself

I cannot browse my asp site from IIS 6.1 from server itself .
My deploying steps are
I compiled my asp.net web site using West Wind ASP.NET 2.0 Compiler
Utility
Deploy my web site to IIS 6.1
Add host header to my host file
(C:\Windows\System32\drivers\etc\hosts) (Let's say :192.168.1.1
www.mywebsite.com)
I cannot browse www.mywebsite.com from my server itself , but I can browse it from client pc by adding host header as step 3 .
I want to know how can i browse my site from server itself . Is there any option ?
Kindly help me , Thanks :)
Try this KB... http://support.microsoft.com/kb/896861
If you are able to browse from other machines, and not from local machine, most likely it is due to LoopBackCheck. The KB explains what needs to be done.
In the server's hosts file, try setting the IP to the loopback address (e.g. 127.0.0.1) instead of the local network IP address. http://en.wikipedia.org/wiki/Loopback Also double check, how is it bound in IIS? To a specific IP or to "all addresses"?

Categories