HTTPS not working; binding set, certificate installed
Solution 1
If you are getting "Server Not Found", that means that the client could not find the responsible server to serve your request. In your case, that's a HTTPS-based application. You also said that HTTP works but HTTPS fails.
Verify the following:
Go to Control Panel\System and Security\Windows Firewall\Allowed Programs
Verify that you have "Secure World Wide Web Service (HTTPS)" and "Domain, Home/Work, and Public" both checked.
You also said that when you try https://example.net
from the server itself, it fails. Try browsing the application from the server itself and run netstat -ano
and check whether there is any activity happening on port 443.
Solution 2
You need to ensure that example.net
actually points to the server's IP. You can do this either with an nslookup
or just plain old ping
the machine. This is your most likely cause.
Peter Wang
Updated on September 17, 2022Comments
-
Peter Wang over 1 year
I've installed the certificate and set up the HTTPS bindings. However, when I load the site on HTTPS it does not load.
I've looked at all the settings but everything seems correct.
I've restarted the server numerous times. The certificate is stored on the local computer under Personal > Certificates. I have the private key for the certificate. The port (443) is open.
If I try
https://localhost
on the server, the site loads, but with a domain error (i.e., it'slocalhost
and notexample.net
). Buthttps://example.net
doesn't load.I really don't know why the HTTPS URL isn't loading.
-
Ben Doom about 14 yearsWhat error do you get at thedomain.com? A timeout? A cert error? A 404? You say port 443 is open. Where is it open?
-
Peter Wang about 14 yearsI get a "Server not found" error. Port 443 is open for TCP under Firewall->Incoming Connections.
-
MattB about 14 yearsIf you do a netstat -an at a command prompt do you see a line for port 443 in the local address column?
-
Peter Wang about 14 yearsIt's listening on :443 ... but no ip address is specified (under the local address column).
-
Anshuman Jasrotia almost 7 yearsIn my case the server was on AWS and the inbound traffic was not allowed on port 443. Hope this helps someone.
-
Abdulhakim Zeinu about 3 years@rksprst Have you got the correct answer to this question? I'm stucked on this issue
-
-
Peter Wang about 14 yearsIt does point to the IP... the regular http domain works fine. It's only the https that is not working.
-
sybreon about 14 yearsIn that case, then you need to make sure that the port is actually open and accessible from the outside. Try:
openssl s_client -connect host:port
-
Peter Wang about 14 yearsTried it and got operation timed out for port 443... If I changed the port to 80 I get Connected)...
-
firstTimeCaller almost 9 yearsI had the same symptoms and it was a firewall blocking port 443
-
TRiG almost 9 years@Giovanni. Any particular reason to prefer
example.com
toexample.net
? I used.net
for the question & both answers. -
Giovanni Toraldo almost 9 yearsactually not :D
-
Alyce about 8 yearsChecking "Secure World Wide Web Service (HTTPS)" worked for me.
-
alamnaryab about 4 yearsTCP 192.168.90.100:49706 40.90.19.152:443 ESTABLISHED 6284 TCP 192.168.90.100:51655 111.22.29.254:443 TIME_WAIT 0 TCP 192.168.90.100:51662 205.15.16.42:80 ESTABLISHED 1192 TCP 192.168.90.100:51663 152.19.19.11:443 TIME_WAIT 0 TCP 192.168.90.100:51666 111.22.29.254:443 ESTABLISHED 8364 TCP 192.168.90.100:51667 151.253.18.12:443 SYN_SENT //this server ip
-
alamnaryab about 4 yearsafter this there is no 443 port, and also site is not opened with https says This site can’t be reached
-
Abhishek B. about 2 years@alamnaryab Check the firewall may be not allowed 443 port or using any services..