I have a web application hosted by IIS8. Within the local network both http://subdomain.domain.com/myapp/Pages/Login.aspx https://subdomain.domain.com/myapp/Pages/Login.aspx work fine. And the SSL certificate displayed correctly with https. However, outside the local network, only http works. https connection gets "400 Bad Request" error. The SSL certificate is a wild card certificate issued by Sectigo RSA Domain Validation Secure Server CA.
I've done the following:
- Creates a A record for subdomain.domain.com, with IP address pointing to the IIS server.
- Forwarded port 443 to the IIS server in router.
- Allowed port 443 inbound traffic in Windows Firewall.
- Restarted IIS server.
What else do I need to do? Thanks a lot!