I've installed a fresh copy of Exchange 2013 w/ SP1 on Server 2012 R2. After Install I tried logging into the URL https://localhost/ecp/?ExchClientVer=15. I get a login page. I login and them immediately get redirected to https://localhost/owa/auth.owa and a blank page with HTTP 500.
Some online threads have pointed to SSL cert or IIS virtual directory issues.
To import the cert, I exported it from my current Exchange server with the private key and imported into MMC. (It has the little golden key displayed by it), I then ran the command below from the EMC.
Enable-ExchangeCertificate -Services "SMTP, IMAP, POP, IIS"
Commands worked and I tried the URL again and still same result. I then recreated the OWA and ECP virtual directories using the commands below.
Remove -EcpVirtualDirectory -Identity Servername\ecp (Default Web Site)
new-EcpVirtualDirectory -InternalUrl https://ServerFQDN/ecp -WebSiteName Default Web Site
Remove -OwaVirtualDirectory -Identity Servername\owa (Default Web Site)
new-OwaVirtualDirectory -InternalUrl https://ServerFQDN/owa -WebSiteName Default Web Site
All seemed to work and directories were recreated. But still the same result. Any ideas what is causing the blank page after login?