(SOLVED) IIS 7.0 – Object moved 302 error

By ckane at January 17, 2010 08:19
Filed Under: IIS

Came across this and wanted to blog it. If you are using SSL in a IIS 7.0 website and you update the SSL cert you will receive this error when IIS 7.0 attempts to redirect from http to https. Check the SSL certificate assignment for the website. Most likely it won’t have one.

HTTP/1.1 302 Found

Cache-Control: private

Content-Type: text/html; charset=utf-8

Location: https://xxxxx.com/Encrypted/Login.aspx?ReturnUrl=%2fdefault.aspx

Server: Microsoft-IIS/7.0

X-AspNet-Version: 2.0.50727

X-Powered-By: ASP.NET

Date: Sat, 16 Jan 2010 00:33:31 GMT

Content-Length: 188

<html><head><title>Object moved</title></head><body>

<h2>Object moved to <a href="https://xxxx.com/Encrypted/Login.aspx?ReturnUrl=%2fdefault.aspx">here</a>.</h2>

</body></html>