9
votes

Trying to publish a website via IIS 8 over SSL, but got time out errors. Any help is appreciated.

Steps taken:

  1. Verified the website can be visited via HTTP (http://xxx.xxx.xxx.xxx works - Using IP address at this moment if that matters)
  2. IIS > Server certificate > Create self-signed certificate, type = Web Hosting
  3. IIS > Default website > Bindings > HTTPS = 443, Host name = <blank>, Certificate = <The one from the previous step>
  4. IIS > SSL settings > Require SSL = Checked, Client certificate = Ignore
  5. IIS > Default website > Permissions > Made sure IIS_IUSRS have read/execute/list permissions
  6. IIS > Default website > Restart

Result:

  • HTTPS requests from clients (https://xxx.xxx.xxx.xxx) return error "This webpage is not available"/ERR_CONNECTION_TIMED_OUT (Chrome) or "This page can’t be displayed" (IE)

  • HTTPS requests from the server itself (https://xxx.xxx.xxx.xxx) return the same error as above

  • HTTPS request using localhost from the sever itself (https://localhost) succeeds after accepting warnings about the certificate

Thanks in advance for any help.

2

2 Answers

11
votes

Check port 443 in your host. This port is closed by default in some hosting providers. For example, in Amazon EC2 you must change "Security Group" settings to add "HTTPS"

0
votes

I followed this post and solved my issue :)